After putting my webshop in production mode and try to insert an image in the Wysiwyg editor it gives me a blank popup modal apart from text saying insert image and a close button. In developer mode everything works fine.

The console gives me a 404 error. 404 Error

The other Wysiwyg functions all work fine even the video upload function.

1 Answer 1


I solved this problem by setting the pub folder as the root of the webserver as Magento suggests doing.

After setting the pub folder as root all I had to do is regenerate the static content and the image selecter worked fine.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.