Skip to content
Advertisement

TinyMCE Image Upload API not showing image picker icon

We followed the instructions on this tutorial but for some reason, the upload button (the search folder icon next to the image URL) on the image dialog does not show:

http://www.tinymce.com/wiki.php/Handling_Asynchronous_Image_Uploads

We’ve tried with just the images_upload_url option as well as all the options, but the upload icon never shows:

tinymce.init({
    ...
    images_upload_url: "postAcceptor.php",
    images_upload_base_path: "/some/basepath", //optional
    images_upload_credentials: true //optional
});

The articles suggest that all you really need is specify the images_upload_url and TinyMCE will allow image uploads.

We are running 4.2.5. This feature is available since 4.2.0. I’ve confirmed with TinyMCE parent company (Ephox) that the image upload feature is a community version feature. So has anyone gotten this to work?

Advertisement

Answer

It is not supposed to show you an image picker icon. It uploads images from files you paste into the editor.

If you want file picker you should use the file_picker_callback.

If you want a file picker icon you need to insert image into your toolbar.

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement