Image attachments won’t display
-
Uploading attachments works fine. Attachments that aren’t images will insert just fine as links — tested with a .txt and a .pdf. Images upload fine and display a thumbnail in the attachment browser. However, I cannot figure out how to get an image to actually display on the page.
The most obvious way, dragging the image in Firefox, shows the image fine for a sec, then the “broken image” icon in the editor. Right-click and “view this image” shows https://mydomain.com/wp-content/…/image. The URL is right, except for this part: WP is installed at https://mydomain.com/wordpress/ — so it would have to be /wordpress/wp-content.
I don’t have this problem anywhere but dragging the image here.
Ok, so I tried the attachment menu. No matter what options I choose, and no matter how good it looks in the editor, by the time I actually publish the thing, all the images have been replaced by their titles. Oh, they’re links if I wanted them to be, but how do I embed an image? A quick check of the source reveals:
<img alt="(title of image)" id="image10" />
Ok, looks perfectly fine, except: WHERE’S THE SRC ATTRIBUTE???
Back in the editor, I noticed something: Ok, everything looks fine when I click the image, get it to insert a thumbnail, without a link. Then I hit “Edit HTML Source”. The source looks fine, with a src attribute and everything, but in the editor window behind the “Edit Source” window, the image disappeared, replaced by its title again. Still pretends to be an image, I can resize it and bring up the “Edit Image” window, but no source URL anywhere, and instead of an image, I’m resizing the title of the image. Ok, fine, so I’ve closed the “Edit Source” window without making any changes, so now I open it again.
And the src attribute is gone.
At this point, I’m ready to go back to b2evolution. It was stupid in many ways, it was difficult to upload and use images, but at least you could do it. I’ll email a temporary login to anyone who wants to help.
I’m using WordPress 2.0.3 on Gentoo Linux (amd64), not that it should make a difference.
- The topic ‘Image attachments won’t display’ is closed to new replies.