Bizarre image loading problem from apache2

Posted by NateDSaint on Pro Webmasters See other posts from Pro Webmasters or by NateDSaint
Published on 2012-04-05T14:01:22Z Indexed on 2012/04/05 17:46 UTC
Read the original article Hit count: 388

Filed under:
|
|

Users have complained a few times about seeing a bizarre set of pink or green stripes on our webpage. At first I thought there were a rash of video card outages, but then someone sent me a screenshot from their browser (IE8). I later saw the same thing, but with slightly different colors on Chrome. Users have experienced this on their iPads and iPhones (iOS Safari). Because I've optimized the site to cache images, the bad image stays around until you clear your cache, so once you do, it resolves itself. My assumption is that the transmission of the image is being cut off mid-stream and then staying that way, but I can't for the life of me figure out why. Here's what I've checked:

Header length is being sent, and transmission looks okay (wget sample below):

wget http://www.superiorlivestock.com/templates/sla2/images/wallbg2.jpg
--2012-04-05 08:46:00--  http://www.superiorlivestock.com/templates/sla2/images/wallbg2.jpg
Resolving www.superiorlivestock.com (www.superiorlivestock.com)... [ip redacted]
Connecting to www.superiorlivestock.com (www.superiorlivestock.com)|[ip redacted]|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 45926 (45K) [image/jpeg]
Saving to: `wallbg2.jpg'

Images are not being served gzipped (apache conf below):

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

The site is www.superiorlivestock.com, and here's a sample of the bad page load: Screenshot

Is there something obvious I'm missing? Am I saving my images in the wrong format somehow?

© Pro Webmasters or respective owner

Related posts about images

Related posts about apache2