• Resolved zephyrcat

    (@zephyrcat)


    I recently installed WordPress 2.8.1 with a custom theme. In my testing locally, images worked fine, but now uploaded images do not display.

    I can upload an image just fine from WP and if I use FTP to download the image, I can open the image on my computer, so I know the image is being uploaded correctly.

    The image, however, does not sbow up when inserted into the post. Instead, I get the alt text. When I try to view an image, for example: example.com/wp-content/uploads/2009/07/file.jpg I get the 404 page.

    What am I missing?

    Site: linuxloop.com

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • There’s a couple of things that you can do.

    First make sure that the images have indeed been uploaded on your server. If you are navigating to the image path and the images aren’t there, then that means that they are not being uploaded to the server.
    I find that if I work locally and have uploaded the images, the path to the images in the database are wrong and point to my local machine. I find it best to just work on the server directly.

    Second go in the admin under miscellaneous and check to see that the path for your images is the right one.

    Thread Starter zephyrcat

    (@zephyrcat)

    crondeau – I’m quite sure the images are being uploaded correctly, since I have checked (and downloaded them) via FTP. The setting in Misc. seems to be correct.

    I have suspected a permissions problem, but everything in wp-content is set to 755, which should be fine, right?

    Thread Starter zephyrcat

    (@zephyrcat)

    OK. I guess my first guess was correct, actually.

    I had only looked at the permissions of the image and the month folder, not the entire wp-content/uploads directory. Chmodding to 775 [drwx-xr-xr] fixed the problem.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uploaded photos do not display’ is closed to new replies.