Both my wordpress and blog url are set to http://www.domain.com/blog, and the address for uploads is "wp-content/uploads". When I write a new article I can upload an image and preview it. But when I drag and drop the image into the editor area, the image does not appear (only the "broken image" pictogram from my browser). If I look at the html code generated for the article, the img tag contains "http://www.domain.com/wp-content/uploads/2006/03/img-07641.jpg" whereas it should be "http://www.domain.com/blog/wp-content/uploads/2006/03/img-07641.jpg"
If I add the missing "blog/" the image is correctly displayed. The image is saved to the upload directory, it's just an issue with wordpress not generating the correct url for the picture.
Can someone help?
I don't have a fix, but I've noticed the same thing when using drag and drop with Firefox.
The work-around, for the moment, is to click on the image (left click) and from the little popup menu choose "Send to Editor".
If I can login to Trac I hope to write it up as an issue.
Aaaah! Thanks! I confirm that I'm using firefox 1.0.7 on linux/i386 and that the "send to editor" option works.
I am having the same problem and have to change the url by editing the html every time I upload an image. Anyone have an idea how to fix this correctly? In WP 1.5 I could edit upload.php but I don't see one in 2.0. Thanks
Michael
Still no answer, but people are having the same problem on this thread:
http://wordpress.org/support/topic/65817?replies=5
netbloke
Member
Posted 5 years ago #
I concur that I have the problem with drag and drop too.
So is this still an issue? this discussion is quite old.