• Hello.

    I have been developing a wordpress site using MAMP & Dreamweaver. When I uploaded the files to the server (godaddy.com using Filezilla), the site’s relative images would not display. I fixed the relative image urls by adding a “/” in front of the path.

    What I changed:

    from
    <img src="wp-content/themes/MyTheme/images/bio.jpg"/>

    to:
    <img src="/wp-content/themes/MyTheme/images/bio.jpg"/>

    & this worked!

    HOWEVER! Around this time, the images that I uploaded to the media library (wp-content/uploads) stopped working in the posts. Bad. The images still appear in the media library & I can access them through wp-admin, but they will not display in either firefox or in safari (where they appear as boxes with question marks).

    you can see the problem here: laramieann.com/theword. Each post in the left column has an image which is followed by text.

    I checked in firebug & the images seem to be calling:

    https://localhost/laramieann/wp-content/uploads/2011/02/wordsherri.jpg

    but in the media library, the images urls look like this:

    https://www.laramieann.com/wp-content/uploads/2011/02/wordsherri.jpg

    Does anybody know how I can make the images appear again? The problem appears throughout the whole site (except for the portfolio gallery).

    What I did to try & fix this:

    1. I added a Redirect 301 code to the .htaccess file:
    Redirect 301 /localhost/laramieann/wp-content/uploads.html https://laramieann.com/wp-content/uploads.html

    which didn’t do anything.

    2. I checked my wp-config.php file to make sure the db host was correct. it was.

    3. I went into WP Admin>Settings>Media to make sure the path was wp-content/uploads. it was.

    Please Help! I don’t know what to try anymore.
    I’m pretty new to all this, so if you have a suggestion for what I can do to fix this problem, please be detailed & specific.

    Thanks,
    Tasha

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Uploaded Images Not Displaying in Posts’ is closed to new replies.