WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WP Setup problem: image path in posts is wrong. (4 posts)

  1. sarahknz
    Member
    Posted 7 years ago #

    I've got a v2.0.2 wordpress blog over at 5nz.com/blog and have all the backend stuff set up right, or so I thought.

    I can upload images just fine using the write-post-interface but when I drag them into the post body the path is given as
    http://5nz.com/wp-content/uploads/2006/05/kidsforkids.thumbnail.jpg
    instead of

    http://5nz.com/blog/wp-content/uploads/2006/05/kidsforkids.thumbnail.jpg

    I can't see where WP is getting the base domain from - certainly not from options. Surely it's not doing a host name check?! And I'm not the first person to put a blog in a subfolder.

    So, does anyone know where I'm going wrong?

  2. moshu
    Member
    Posted 7 years ago #

    So, does anyone know where I'm going wrong?

    Don't drag. Despite what they say - it doesn't work. Use the "Send to editor" menu.

  3. sarahknz
    Member
    Posted 7 years ago #

    Thank you moshu

    That works and is much better with the "with original" option too.

  4. gliebetronics
    Member
    Posted 7 years ago #

    I have the same problem. I like to select "Linked to Image" on my uploaded images, then drag them into my posts. This placed a thumbnail image on the post that could be clicked on to make it bigger. I have been doing it this way for some time, but now it seems to have broken. The thumbnail images lack the actual /blog/ sibdirectory in the path now. I can choose "Send to Editor" and the path is correct for the image, but the picture is huge and I have to resize them by hand. Why has this happened, how do I fix it?

Topic Closed

This topic has been closed to new replies.

About this Topic