Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

TimiAde's avatar

TinyMce Image Upload

I want to handle the image upload in my model controller, so i dont want tinymce to handle it. How can i set it. I want it to be in $request sent

+attributes: Symfony\Component\HttpFoundation\ParameterBag {#44 ▶}
  +request: Symfony\Component\HttpFoundation\InputBag {#43 ▼
    #parameters: array:3 [▼
      "_token" => "dBPVB76oTTDGPYQmkxF2qtzRUc3dx1AFqo8IigVt"
      "body" => "<p><img title="Screen Shot 2022-09-22 at 2.11.37 PM.png" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABTQAAAPoCAYAAADgO3FgAAAMa2lDQ1BJQ0MgUHJvZmlsZQAASImV ▶"
      "checkbox" => "on"
    ]
  }
  +query: Symfony\Component\HttpFoundation\InputBag {#50 ▶}
  +server: Symfony\Component\HttpFoundation\ServerBag {#47 ▶}
  +files: Symfony\Component\HttpFoundation\FileBag {#46 ▼
    #parameters: [] // I want the files here
  }
0 likes
1 reply

Please or to participate in this conversation.