I have installed Drupal 5.0 and Gallery2 and tinymce_2_0_9 with tinymce-5.x-1.x-dev. That works fine. But I'm having trouble when I try to include g2image_v2.0 in the tinymce plugins.

Gallery2 Image Assist (g2image) Status: Warning
* g2image does not seem to be installed for TinyMCE mode in the required directory (<drupal_path>sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/g2image), or the directory is not writable. Please see the INSTALL.txt for instructions.

tinymce-5.x-1.x-dev installs TinyMCE in the modules/tinymce/includes/ folder, but g2image is looking at modules/tinymce/tinymce/. Where can I change this setting? Also, I don't see the plugin_reg.php file anywhere as mentioned in several posts.

Thanks

Comments

pegmonkey’s picture

hilmy’s picture

I came back to this problem after a couple of weeks absence and after upgrading to Drupal 5.1. I managed to finally get the g2image button appear in tinyMCE with the help of these and other posts editing the theme files to include g2image in the plugins and button lines. However when I click on the g2image button I get a fatal error pop-up instead of the image picker.

After going through several more posts I saw this post by cosmic: http://www.galleryembedded.com/forums/viewtopic.php?t=3629. Essentially, he suggests changing all direct links in g2image/config.php to be relative. I did exactly that for $g2ic_gallery2_path and finally I get the image picker!

Thanks everyone.