• I read the stuff about putting images in posts and from what I understand I should upload the image to my server and then put the link to it in the post, which sounds like what I was doing with my static website. I copied and pasted a bunch of posts with images directly into the wordpress posts so they already had urls in them, but now when I look at the posts I see the ‘no image’ gif. So are my images in the wrong folder? They are in the public_html. Should I put them in a wordpress folder?

Viewing 4 replies - 1 through 4 (of 4 total)
  • It is never about where they are – the question always is: are the path correct?
    If you use relative path AND nice permalinks then you have to be very careful how the path is coded:
    on the main blogpage example.com/mypic.jpg is OK, but if you look at it in the single post view, the browser will look for it at:
    example.com/2006/05/19/my-fantastic-post/mypic.jpg
    But this is true even if you create a folder like wp-content/uploads/ or wherever. BTW, in 2.0.2 in Options > Misc you can define where your upload folder is (for the uploads done from the Write panel)

    Thread Starter VeronicaRose

    (@veronicarose)

    Actually, I did use relative links but I thought about that and so I tried specifying the path like this on one of my posts as a test:

    <img src=”https://www.veronicarose.com/public_html/baby.jpg&#8221; alt=”kick the baby” />

    But it didn’t work. I just got a no image gif. Is that not how you do it?

    By the way, thanks for the tip about specifying where the folder is.

    https://www.veronicarose.com/public_html/baby.jpg – this is wrong!
    You never put the public_html in the URI.
    It should be: https://www.veronicarose.com/baby.jpg
    (and it’s there ??

    Thread Starter VeronicaRose

    (@veronicarose)

    Thank you so much. I did what you said and it works now.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘where (which folder) do I put my images?’ is closed to new replies.