This is my second time trying to install this, so I think I am following the instructions correctly. This is with 4.7 and image/tiny/image_assist cvs's and the drupalimage plugin included with tinyMCE for drupal.

I setup tinyMCE and got it to work fine (on firefox 1.0.7).

I then got the image module to work, or I think I did.

I installed image_assist and copied over the drupalimage plugin to the plugin directory for TinyMCE, and edited the plugin_reg.php file as the readme instructs.

Now, image_assist is there, it allows me to upload images, but when I click "insert" the image fails to appear in the story content. Is it supposed to?

Also, the drupalimage button is in the TinyMCE buttons/plugins panel and is selected, but the button does not show up at all on the TinyMCE panel like it says it should.

I'm really trying to evaluate drupal to see if there's a way to painlessly create image/text docs and this seemed like the way to go but I can't get it to work. Any help would be greatly appreciated!

thanks,

kilolima

Comments

graggrag’s picture

I went through similar pain to yours, but eventually it worked, and well. From my experience, I recommend that you very carefully go over the documented installation steps. That was the first thing that solved some of my dramas. Finally, I had to abandon the compressed component of TinyMCE. With that in play, I had similar symptoms to those you describe. Without it, image handling works just fine, though loading _is_ slower.
Cheers.

kilolima’s picture

thanks for the reply... I re-installed a few more times and the problem was then obvious... wrong version of tinyMCE. Thanks!

jodo’s picture

I've edited out my rather embarassing cry for help here as I now tinyMCE working.

Some advice for those who afflicted with the same "slow brain" as me. When adding tiny_MCE to your image_assist installation be sure and make the changes and additions required in both modules. Duh!
The instructions are clear and it is easy enough. However it is unusual, at least for me, as it is two modules working together.

And as far as I can tell the compressor is working with this install.

Anyone know how I can test that?

chrisschaub’s picture

I have a test environment before the dns changes go through that looks like this ...

http://www.somedomhostco23432442.com/~username

Drupal handles this fine, even with the template,modules and files under the /sites directory.

Drupal image has a setting in the /tinymce/tinymce/jscripts/tiny_mce/plugins/drupalimage/editor_plugin.js file $template['file'] that I needed to hard code to get it to work in this type of environment. So, the setting became ...

$template['file'] = 'http://www.somedomhostco23432442.com/~username/index.php?q=img_assist/lo...';

Obviously you'll have to change the hosts to your real hostnames and paths. But this fixed a "Not found" error I was getting when clicking the drupalimage icon. I'm using the latest cvs image/image_assist with drupal 4.7. I know my setup was fine otherwise since it's an exact dupe of a working site. The only difference was one (the broken one) was on a shared host with dns not setup. The working version was a fully resolving site, production ready.

This took a while to figure out since it all works fine when the dns starts resolving correctly. It was only on these sites that were being built on a shared host that the problem surfaced. I'll edit the file and put the setting back when I go live since it will break again since the path will chnage. This might be due to an apache env setting for the domain that is not set in the shared environment? I hope it helps somebody, I almost went nuts!