Hi all,
I got Image Assist to work for me (after I figured out that the input formats needed to be configured to filter the input), and then decided to install TinyMCE. I am at the point where I do have the Image Assist tool button appearing in the TinyMCE toolbar (I think that this is all installed OK), but now whenever I click on either the 'camera' button in the TinyMCE toolbar or the Image Assist button below a text input, it loads a popup with a 404 error instead of the regular image chooser popup. Any ideas? Thanks,
Mike P
Comments
Comment #1
benwei commentedHello,
I am having this problem too, and it seems to be a duplicate of the bug reported here.
There is a workaround: moving the img_assist and tinymce module directories into the main /modules directory instead of having them under 'sites/all' seems to fix it.
Comment #2
raulpober commentedHello,
I had the same problem too. If you would rather not move around the tinymce module, another option is to edit the drupalimage javascript. In my case, there was only one offending line. The solution was to open up "editor_plugin_src.js" and "editor_plugin.js" in the durpalimage plugin directory and change:
template['file'] = base_url + 'index.php?q=img_assist/load/tinymce';
to:
template['file'] = '/index.php?q=img_assist/load/tinymce';
base_url gets defined in editor_plugin.js from tinymce's perspective, so it gets the value: "/sites/all/" which, based on the line above is obviously not what was intended.
After making the change, and updating the tiny_mce_*.gz file using tiny_mce_gzip.php, the plugin works.
Comment #3
sunThis should have been fixed in the latest development snapshot.
Please re-open this issue if it's not yet fixed.
Comment #4
(not verified) commented