[wp-trac] [WordPress Trac] #2612: Image drag and drop problem with
Firefox and TinyMCE on WP 2.0
WordPress Trac
wp-trac at lists.automattic.com
Thu Mar 30 23:03:38 GMT 2006
#2612: Image drag and drop problem with Firefox and TinyMCE on WP 2.0
-----------------------+----------------------------------------------------
Id: 2612 | Status: new
Component: General | Modified: Thu Mar 30 23:03:38 2006
Severity: minor | Milestone:
Priority: low | Version: 2.0.2
Owner: anonymous | Reporter: guillep2k
-----------------------+----------------------------------------------------
(As seen in forum thread http://wordpress.org/support/topic/66431)
I've got a WordPress 2.0 blog in a path like www.domain.com/blog (i.e.,
not at the website's document root but in a subdirectory). When I try to
edit/create a post I can upload images alright, but when I try to drag and
drop the image into the WYSIWYG editor, the picture is dropped without the
'/blog/' part. For example, my pictures are uploaded (using the WP upload
feature) into $DOCUMENT_ROOT/blog/wp-content/uploads/my_picture.jpg. When
checked via FTP, the picture looks fine in the right directory. I can
browse and list and preview all the pictures I upload. However, when I
drag the picture and drop it into the editor, a "broken link" picture is
inserted. If I check the picture's URL, it looks like www.domain.com/wp-
content/etc. instead of www.domain.com/blog/wp-content/etc.
This only shows up with Firefox (latest version and a very old one too),
but in Internet Explorer it works perfectly fine, i.e., the drag and drop
function inserts the image with the correct path.
I checked up some stuff, and I could determine that the script inline-
uploading.php is doing the things right (at least the generated content
has the correct links). I could not determine where the /blog/ part of the
path was lost, but I think it is somewhere into tiny_mce_gzip.php.
With "Send to Editor" it works fine in both navigators. Only the drag and
drop function seems to fail with Firefox.
--
Ticket URL: <http://trac.wordpress.org/ticket/2612>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list