ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Uploading an image - file uploads, but can't be viewed in browser

June 26, 2011 10:36am

Subscribe [2]
  • #1 / Jun 26, 2011 10:36am

    dubaireader

    4 posts

    Uploading an image via the file fieldtype, seems to go smoothly but images don’t display in the browser.

    I have set up the download directory correctly, and the uploaded images appear in the directory when viewed from the server (opened in Windows Server 2008 image viewer).

    When I navigate directly to the image via the URL (e.g. http://server/images/reviews/image.jpg) I get an error from IIS7 saying:

    HTTP Error 404.0 - Not Found
    The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

    I am using Windows Server 2008 with IIS 7.

    I can open the image and view it offline, so it’s very strange that it doesn’t display when opened in the browser.

    Also note that normal images (that I placed myself) DO display in the browser. Even when placed in the same folder. So something is happening to the image whilst it’s processed by EE2.

    Any advice would be greatly appreciated!

  • #2 / Jun 27, 2011 11:35am

    Sue Crocker

    26054 posts

    Hi, dubaireader. It sounds like a permissions error.

    Are you certain the folder settings are correct? Windows and Linux use different paths.

  • #3 / Jun 29, 2011 8:44am

    dubaireader

    4 posts

    I’m sorry, it was my fault - I had specified /thumbs/ in the “URL of upload directory” and not in the “Server path to upload directory”.

    Got it working now! Thanks for your help 😊

  • #4 / Jun 29, 2011 10:05am

    Sue Crocker

    26054 posts

    Whew. Glad to hear that. 😊 If anything else comes up, please do let us know in a new thread..

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases