Hello!
My problem is not having the image Assist Icon in the toolbar of TinyMCE.
I followed the complete install instruction and surely put drupalimage in tinymce/tinymce/jscripts/tiny_mce/plugins/
Although the correct "drupalimage" and little camera icon shows up in "Buttons and plugins" setting of TinyMCE settings page, the camera icon does not show up on the editor toolbar (yep, I enabled it ;-))
I am using tinymce 1.9. I tried this with Image Assist 1.x-dev and 1.4.
Any suggestions?
Best regards,
zokoloz
Comments
Comment #1
holydrupal commentedI have the same problem
Comment #2
sunComment #3
koronet commentedI have the same problem. But I try to provide same additional information.
Every time I use tinymce on a textarea there is a warning in the Drupal log:
But the file exists and it's file permission is right (readable for the web server user).
If I point my browser to this URL, I get a Page not Found error. But it is very strange, because if I rename the JS file editor_plugin.js to anything else (e.g. ed.js), I can get the file through the browser.
I use Drupal 5.2 with
Comment #4
zoo33 commentedWow, that's weird. Is this happening to everyone who's having this issue? Do the rest of you also see the Page Not Found errors?
Comment #5
anosworthy commentedI experience exactly the same issue as koronet.
Comment #6
anosworthy commentedSorry. I seem to have fixed it. This is all I did.
- Loaded the URL of the .js file in my browser (e.g. http://localhost/sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plu... ) -- this gave me the drupal 404 error
- Disabled Clean URLs
- Refreshed the .js page - still get 404
- Enabled Clean URLs again
- Refreshed, and the contents of the .js appeared, and the camera icon appeared.
Very quirky, no idea why it exhibited behavour, and disabling and reenabling clean URLs is a very weird fix. Perhaps dev could shed some light?
Comment #7
sunIt gets even weirder now.
@koronet: Is anosworthy's workaround also working for you?
Comment #8
aaron commentedI have this identical issue. However, when I point to /sites/all/modules/tinymce/tinymce/jscripts/tiny_mce/plugins/drupalimage/editor_plugin.js, that file displays properly. Looking at watchdog, I don't see any errors in there related to tinymce or drupalimage.
I've installed the drupalimage, by adding it to the proper plugin folder and adding the relevant php code. The icon with the camera shows up on the profile page. When I check it, it doesn't show up on the editor buttons. Instead, the default TinyMCE image icon is displayed, with the default TinyMCE image plugin behavior (asking for image URL), even though that Image button is not enabled on the profile. There's only one profile in use.
Using Image Assist 5.x-1.5, TinyMCE module 5.x-1.9-1, and TinyMCE 2.3.1.
Comment #9
aaron commentedAdditionally, when disabling the drupalimage button from the profile, the standard Image Assist icon still disappears from below the textarea when TinyMCE is enabled for a textarea.
Comment #10
aaron commentedThat seems to be because on the page:
The img_assist.innerHTML is blanked out regardless of the status of drupalimage. Is this behavior intended?
Comment #11
aaron commentedAs a reference, further in the page, you see:
That's written by the tinymce module, and I assume the 'no' == 'yes' is created by the status of the drupalimage. However, that's overridden by the code in the comment above.
Comment #12
aaron commentedComment #13
sun@all: Do you still encounter this bug if you set the "Textarea image link" option in Image Assist's Access settings to "Do not show a link"?
Comment #14
yuit commentedUsing Drupal 5.6, Tinymce 5.x-1.9 (with tinymce 2.1.2), img_assist 5.x-1.x-dev (2008-Jan-10), private file system, clean urls, it seems to work fine for me (although I only made a quick test). I do not experience the bug reported here.
Server is Windows 2000, php 5.2.5, Apache 2.0.61
Comment #15
Anonymous (not verified) commentedI had a similar problem but it was due to me putting the folder in the wrong plugins directory under tinymce. After correcting that, the icon showed up for me.
Comment #16
flerchjj commented-same here
-Yes
Comment #17
sunI am still not able to reproduce this bug. Once again, I have installed Drupal 5, Image, Image Assist, TinyMCE module, and the current TinyMCE 2.1.3 editor from scratch, followed all steps that are mentioned in both Image Assist's and TinyMCE's INSTALL.txts, went to node/add/story, and was able to use Image Assist's plugin for TinyMCE without any errors. Tested this in Internet Explorer 6, Firefox 2, Safari 3, and Opera 9.
Since TinyMCE's INSTALL.txt instructs users to place the tinymce module directory into
modules/, I even ensured that this bug does not occur if you place the TinyMCE into the modules directory of Drupal core.Guys, I really don't know what's happening on your sites. If anyone wants to supply me with login information to a site where this bug occurs, I'll try to debug this.
Comment #18
deejross commented@Sun, I am having the same problem. I will give you access to my site in order to debug it. Can you provide me with an email address to send the info to?
Ross
Comment #19
deejross commentedAs a side note, I tried disabling caching and css aggregation to see if that would fix anything, but no luck.
Ross
Comment #20
deejross commentedI kind of gave up on trying to make it work at tried using IMCE. Since it had the SAME problem, I figured it was something with TinyMCE itself. Since this is a new site, I downloaded the new version (3.0), which requires some code changed to make stuff work. So by simply replacing with 2.1.3 stable (which is on the same download page), IMCE started working. I can only assume the same is true for img_assist. Hopefully someone can give it a try and see if it works.
Ross
Comment #21
dchakrab commentedSame problem with TinyMCE 3...followed all instructions, have done this a thousand times in the past, but with TinyMCE 3 the Drupal Image button doesn't appear in the rich text editor (though it shows up in the plugins / buttons as an available plugin, and is enabled).
Will try downgrading to a previous version of Tiny; I'm assuming the new version of Tiny is breaking stuff. Buttons like "flash" and "zoom" don't work either, leading me to believe that the correct code for updated the array in the plugins registry file has changed, breaking many of the "advanced" buttons in the TinyMCE module for Drupal.
The problem may be there and not in Image Assist...or Image Assist might need an update only after TinyMCE.module is updated.
Dave.
Comment #22
sunYes, TinyMCE 3 is considered beta, but not stable, thus not yet supported by Image Assist. As mentioned before, I am still not able to reproduce this bug with TinyMCE 2.1.3 and the current official releases of Image and Image Assist modules. Please elaborate.
Comment #23
sunI have updated the project description with a compatibility note about (3rd-party) TinyMCE editor javascript version.
Feel free to re-open this issue if you think that this has nothing to do with using unsupported TinyMCE v3 (beta) instead of v2.
Comment #24
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #25
citizenpaul commentedI hope you don't mind me re-opening this issue, but I have something to contribute, having had the same problem as koronet. I'm not sure if this has since been fixed, but I have found this issue is dependent on the browser being used.
Using FF 2.0.0.14 I get the 404 error when attempting to access
..modules/tinymce/tinymce/jscripts/tiny_mce/plugins/drupalimage/editor_plugin.js
Furthermore, the 'drupalimage' camera icon does not display in the TinyMCE toolbar, despite being visible on the TinyMCE configuration page, as above.
BUT, using Safari 3.1.1, the above URL is found, AND the camera icon displays correctly on the TinyMCE toolbar when creating/editing content.
(I'm using Drupal 5.7, Image Assist 5.x-1.6, Tiny MCE module 5.x-1.9 with version 2.1.3 of TinyMCE on a local install. Strangely, I've used the above versions of these modules on a previous site without any problem)
Any ideas?
Thanks
Paul
Comment #26
citizenpaul commentedFurther to this, I just tried uninstalling and reinstalling FF as a last resort, and now the icon is displaying as expected on the toolbar.
Additionally, the URL to the js file now works as well:
.../modules/tinymce/tinymce/jscripts/tiny_mce/plugins/drupalimage/editor_plugin.js
Perhaps this will be of use to others with the same issue?
Paul
Comment #27
rcaracaus commentedI am using version TinyMCE 2.1.3 and image assist 5.x-1.6
If I disable TINYMCE then image assist works. When I have it enabled the image assist button will not appear in TinyMCE toolbar. I have been working on this for hours. Please help. I am willing to exchange help/answers in the future with anyone who wants to help with this.
email me at rcaracaus@hotmail.com
Comment #28
sun@rcaracaus: Did you completely follow the installation instructions in INSTALL.txt and enable the drupalimage plugin in TinyMCE's profile?
Comment #29
dongen1289 commentedHaving exact issue with drupal 6.2 / tinymce 3_0_8 (no other 3 available) / tinymce drupal module 6.x-1.1-dev / image assist 6.x-1.0-beta1
image assist itself is working fine, filter set up, permissions correct, editor_plugin.js showing fine
camera icon IS showing in available icons in tinymce config, and enabled, but NOT showing in the toolbar.
tried on many many sites, clean installs, over and over again, it is NOT working, also with v5 and earlier corresponding versions.
HELP!
thnx
Comment #30
markwa commentedI'm also having _exactly_ the same problem with _exactly_ the same set of modules:
drupal 6.2 / tinymce 3_0_8 (no other 3 available) / tinymce drupal module 6.x-1.1-dev / image assist 6.x-1.0-beta1
The drupleimage Camera icon is not showing up in my user's TinyMCE editor.
I'd appreciate your review of the installation steps I took, as I'm apparently skipping at least one important step.
I'm running Drupal version 6.2 on a www.opensourcehost.com server, which is one of the recommended Drupal hosts.
Do you see anything missing in the above configuration that explains why the drupalimage camera icon doesn't show up in the user's TinyMCE toolbar?
Thanks!
-- Mark
Comment #31
grn commentedYo. I have the exact same problem.
Drupal 6.2 on localhost, apache2, php5.
I have attached screenshots of the problem.
noicon.jpg -> the editor toolbar not showing the icon
tinymceprofile.jpg -> showing the camera icon in the tinymce profile settings
*EDIT* Doesn't the file attachment option work????
**EDIT** The problem is being worked on (http://drupal.org/node/245799)... maybe ?? ;-) I will use TinyMCE 2.1.3 stable (http://tinymce.moxiecode.com/download.php) until it's fixed.. go ninja power :-)
Comment #32
zoo33 commentedOK, so I suggest we separate this issue from stuff related to TinyMCE 3 and Drupal 6. Please use this issue instead: #245799: Update TinyMCE integration to 3.x
rcaracaus, have you solved your problem?
Comment #33
sunWithout further information we cannot do anything about this issue. Reverting status to fixed.
Comment #34
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #35
ralphb commentedThis is still an open issue.
I'm using Drupal 5.11 + img_assist module 5.x-1.6 + TinyMCE module 5.x-1.9 + TinyMCE source 2.1.3.
The settings page for TinyMCE shows the drupalimage plugin, but it's not showing up in the button toolbar. The only other strange thing I notice is that for the broken TinyMCE installation, img_assist displays its "click here to add images" icon below the textarea, whereas in my previous, working installation of TinyMCE the only thing showing below the textarea is the "disable rich-text" link.
I've tried TinyMCE source 3.0.2 as well, but with identical results.
If you require additional information, please kindly indicate what kind of information would be helpful to you.
Comment #36
sunThe TinyMCE module for Drupal is a dead end, discontinued, and soon no longer supported by Image Assist.
Image Assist 2.x integrates seamlessly with Wysiwyg API, which admittedly still needs plenty of work, but if you want to see it to happen faster, you may consider to contribute, please.
Comment #37
ralphb commentedI understand your reluctance to fix "a dead end". The only problem is that absolutely critical security updates to Drupal 5 itself broke the insertion of images into textareas.
When I look at my current options I see that img_assist 5.x-2.x is a development snapshot not recommended for productive use. Hence I -- in fact, ALL productive Drupal installations -- are stuck with img_assist 5.x-1.x or 6.x-1.x, which rely on the TinyMCE module.
Please note that not fixing this issue means that one cannot enter content with images! This is a rather severe limitation for which I do not see any workarounds. It's fine to deprecate img_assist 1.x once 2.x has matured, but for the time being I'd strongly encourage you to fix this issue nonetheless.
I thus took the liberty of re-opening this ticket for your consideration. (And yes, I'd be happy to contribute, but I do not have the required knowledge to go bug hunting myself.)
Comment #38
brollo commentedSame problems here, Drupal 6, TinyMCE 3 and Img assist. Icon showing in TinyMCE settings but not on the Rich text editor.
Did you manage to fix the problem? Please let me know how
Thanks
Comment #39
sun@brollo: It has been stated many times in this issue that Image Assist is incompatible to TinyMCE 3. If you want support for TinyMCE 3, consider contributing to http://drupal.org/project/wysiwyg
@ralphb: I'll test latest Drupal 5 core, TinyMCE module 1.9, TinyMCE 2, and Image Assist 1.6 again now.
Comment #40
sunAnd yes, I am still unable to replicate any errors.
Tested all current versions, i.e. Drupal core 5.11, TinyMCE module 1.9, TinyMCE 2, and Image Assist 1.6. Followed Image Assist's installation instructions in INSTALL.txt. Plugin appears in TinyMCE's profile configuration, appears in the editor, I'm able to insert and edit inserted images via the drupalimage plugin.
Check your theme override functions, or whatever you have done to make it incompatible, please.
Comment #41
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.