📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

Images not displaying on my website

krishna
krishna Posts: 818 Forumite
I've got a couple of small websites that I set up. Everything was working fine, but now images don't display. My browser is set up to display images, but still same problem, in both Firefox and IE and the same from any PC. The images are present on the server, in fact if you right click over the image place holder and say view image, it displays. Any ideas?

Here's a link to one of them
«1

Comments

  • The images are on the server, i've done a 'page info' in firefox. I think its a problem with image caching, but i don't know how to fix it.

    After I dragged the image's url into the url bar, then refreshed your page, all the images displayed for a second.

    I'd try changing the type of HTML you use, maybe it's too strict a version - it doesn't fully validate anyhoo

    Nice clean look to the site also, got a bit of an interest in that stuff as I ran a few interfaith events when I ran the jewish society in Cardiff uni
  • krishna
    krishna Posts: 818 Forumite
    dps wrote: »
    have you deleted the images from the server by accident or are they in a different folder so the image isnt showing, or is the file name wrong as they are not showing for me asswell if your using an ftp client you could bring yp your site and left click the image folder and tell us what the permissions are for CHMOD or right click the images in the folder and what are the permissions for the CHMOD for each picture the image folder is usally 755 and each image is usually 644

    Like ringo says, the files are definitely there. I right clicked the img folder and the permissions are all set to red, write and execute. The numeric value is 755. For individual images it is 644. Group and public permissions set to read only and owner permissions to all.

    Still none the wiser.
  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    Firefox Page Info - Media shows the type for the missing image is 'text/html', whereas the others are 'image/jpeg'. Not sure how to fix it, though.
  • krishna
    krishna Posts: 818 Forumite
    I think its a problem with image caching, but i don't know how to fix it.[/quote/

    Would that be something to do with my site, or the host?
    I'd try changing the type of HTML you use, maybe it's too strict a version - it doesn't fully validate anyhoo

    Tried changing doctype to HTML 4.01 transitional, but that didn't help.
    Nice clean look to the site also
    Thanks. I want to upload new images, but no point at the moment, if they won't display :confused:
  • Krisha - can you create a blank page, with nothing on it but an image?

    It could possibly be the settings of the host server.. just a thought at the moment
  • jamalfatty
    jamalfatty Posts: 960 Forumite
    From my limited knowledge I think you have the MIME types setup incorrectly on your server.
    It seems to be serving this image as text which would explain why it doesnt display. You will need to change the MIME type for .jpg from "text/html" to "image/jpeg"

    As I said, i'm no expert but think this may resolve the problem
  • krishna
    krishna Posts: 818 Forumite
    Krisha - can you create a blank page, with nothing on it but an image?

    It could possibly be the settings of the host server.. just a thought at the moment

    fresh page here
    Still no images displaying.
  • ShirleyPark_2
    ShirleyPark_2 Posts: 870 Forumite
    It's almost like the images aren't loading unless they are specifically asked for, or some odd caching thing going on. I just did a show image which loaded the image, and then when I went back to the page the image was there.

    Where is the site hosted ?
    Debts: Mum £3923 0% APR
  • krishna
    krishna Posts: 818 Forumite
    Where is the site hosted ?

    https://www.fuzioned.com

    Hmm... if I upload the same test page to a different server, it displays the image.
  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    Agree with Jamalfattry that it looks like a problem with the web server configuration, because using Fiddler,
    http://www.northlondoninterfaith.org.uk/img/dialogue.jpg returns:
    HTTP/1.1 500 Internal Server Error
    Date: Fri, 04 May 2007 18:26:20 GMT
    Server: Apache 3 - HOSTMerit
    Connection: close
    Content-Type: text/html; charset=iso-8859-1
    Content-Length: 767
    
    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <HTML><HEAD>
    <TITLE>500 Internal Server Error</TITLE>
    </HEAD><BODY>
    <H1>Internal Server Error</H1>
    The server encountered an internal error or
    misconfiguration and was unable to complete
    your request.<P>
    Please contact the server administrator,
     webmaster&#64;XXXXXX.YYYY and inform them of the time the error occurred,
    and anything you might have done that may have
    caused the error.<P>
    More information about this error may be available
    in the server error log.<P>
    <P>Additionally, a 404 Not Found
    error was encountered while trying to use an ErrorDocument to handle the request.
    <HR>
    <ADDRESS>Apache/1.3.37 Server at www.northlondoninterfaith.org.uk Port 80</ADDRESS>
    </BODY></HTML>
    

    whereas http://www.lcherbalists.co.uk/img/dialogue.jpg returns:
    HTTP/1.1 200 OK
    Content-Length: 76448
    Content-Type: image/jpeg
    Last-Modified: Fri, 04 May 2007 18:21:02 GMT
    Accept-Ranges: bytes
    ETag: "cf58eaf8788ec71:46203"
    Server: Microsoft-IIS/6.0
    X-Powered-By: ASP.NET
    Date: Fri, 04 May 2007 18:27:37 GMT
    

    Note the first web server is Apache and second is IIS.
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 355.9K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.2K Spending & Discounts
  • 248.4K Work, Benefits & Business
  • 606.1K Mortgages, Homes & Bills
  • 179.1K Life & Family
  • 263.9K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards
Quick Search

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.