tinyMCE editor version 3 upload image option

665 views Asked by At

i am using tinyMCE 3 for my project. Unfortunately image upload option is not by default. I am trying by adding some code, but its not working with tinyMCE v3. See its not giving option to browse image.

enter image description here

Here is what i am doing :

tinyMCE.init({
    mode : "textareas",
    theme : "advanced",
    plugin : 'imgmanager',
    theme_advanced_buttons1 : 'imgmanager'
});

But its not working for me.

1

There are 1 answers

3
pleft On

Like my comment you are not pressing the correct button (probably you have not configured correctly tinyMCE and it is not displaying your plugin's button) Below is the configuration that worked for me:

<script type="text/javascript">
    tinyMCE.init({
        mode : "textareas",
        theme : "advanced",
        plugins : 'imgmanager',
        theme_advanced_buttons1 : "imgmanager",
    });
</script>

Notice plugin is wrong, it should be plugins

Of course make sure you have copied the imgmanager plugin to yours tinyMCE installation plugins folder.

Here is a screenshot of mine:

enter image description here

The plugin button is on the upper left corner.

UPDATE

For configuration instructions please have a look here: http://www.binpress.com/app/tinymce-3x-image-manager-and-editor/781