After inserting an image (through the advanced image option) I try to move the image by dragging it and dropping it a few lines further up or down. After releasing the mouse I notice how something is happening in my browser status bar for just an instant and within fragments of a second the image turns into the "broken image url"-symbol.
I played around with all kind of tinyMCE parameters in the tinymce.module already (like relative_urls: false, convert_urls etc.), but without any effect. Actually, the problem occurs only with pictures that are located inside the directory of the drupal installation, yet regardless of whether I use relative or absolute urls.
Strangely enough I found out that the problem does not occur when I copy the source code of the "submit content" page where the editor is located and paste it into a static html or php file.
Is there some kind of event handler that is called when an image from the drupal directory is dragged & dropped?
How can I prevent the image from breaking?
Thanks a lot for any help,
riemann
Comments
Comment #1
riemann commentedI set up an example here: http://www.wlym.de/drupal_new/?q=node/1/edit
Check it out and you'll see what the problem is. Feel free to play around with it, just don't save your changes.
Comment #2
kreynen commentedWhen I test this on wlym.de, I see exactly what you describe. But when I copy the same content to the 5.1 demo, I was able to drag and drop both internal and external images without a problem.
http://tinymce51.sidewalktheory.com/node/4
BUT when I try to access the same install using a non root path the drag and drop breaks just like riemann's example...
http://gradev.jour.unr.edu/tinymce51/node/5
Now the question becomes is the problem in the module (specifically the way the module calls the TinyMCE toolbar when Drupal isn't the root of the server) or is the problem in TinyMCE 2.1 itself.
I've marked this issue as critical, not because of this specific symptom, but because I don't think we did enough testing of with the 3 types of install (root, subdirectory, and multisite). I will set up additional testing sites with current 5.1 release and the HEAD.
Comment #3
AdrianB commentedI saw this in the TinyMCE bug database, could it be related?
Comment #4
riemann commentedTwo more observations that may help to solve the problem:
1. It actually works in Internet Explorer (IE7), but breaks in Firefox.
2. It works if I copy the whole source code into a html file and open it from the Drupal base directory: http://www.wlym.de/drupal_new/test.html It also works if I copy the code into a PHP file: http://www.wlym.de/drupal_new/test.php
riemann
Comment #5
pomliane commentedThis version of TinyMCE is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.