As advertised on the project front page Image Assist can also be used when adding images from a rich-text editor. This feature currently exists for TinyMCE using the included drupalimage plugin. However, when I go to TinyMCE front page then through it's Third Party Plug-ins full list I can't find the drupalimage plugin ; drupal had no result and the few that image gave seemed to have no link to the plugin ...

Comments

ingacosta’s picture

Maybe you installed the plugin in a wrong folder.
To install the img_assist plugin you must copy the drupalimage folder of Img_assist to the correct path:
modules/tinymce/tinymce/jscripts/tiny_mce/plugins/

edit the file plugin_reg.php in the tinymce directory. It's located in:

[sites/all]/modules/tinymce/plugin_reg.php

Add the following 3 lines anywhere above the 'return' statement:


  $plugins['drupalimage'] = array();
  $plugins['drupalimage']['theme_advanced_buttons1'] = array('drupalimage');
  $plugins['drupalimage']['extended_valid_elements'] = array('img[class|src|border=0|alt|title|width|height|align|name]');

Next, go to

Administer > Site configuration > TinyMCE

and enable the drupalimage plugin in your TinyMCE profile.

See the install.txt file of image assist of go to the link:
http://mybesinformatik.com/tinymce-and-drupal5#comment-133

sun’s picture

Status: Active » Fixed

Or see official installation instructions in the README.txt / INSTALL.txt.

Feel free to re-open this issue if you have further questions.

dynv’s picture

Category: support » feature
Status: Fixed » Active

Everything is clear through the install file. I wanted to know if it worked with TinyMCE before installing it thus I followed the lead of the front page (very informative even if I was confused), perhaps add a note that the plugin is included in this module ?

sun’s picture

Status: Active » Fixed

Thanks, I've clarified that paragraph on the project page.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.