: Sporadic problems with some images I have a website http://dermadoc.ch with several images that are no more displayed (mostly by IE versions) My server shows no errors but the browser just
I have a website dermadoc.ch with several images that are no more displayed (mostly by IE versions)
My server shows no errors but the browser just displays the broken image symbol.
The images seem fine, for example dermadoc.ch/images/canfield.jpg
$ identify canfield.jpg
canfield.jpg JPEG 153x115 153x115+0+0 8-bit sRGB 5.55KB 0.000u 0:00.000
browsershots.org shows no problem with any version, but I have some IE 11 examples where the images are not shown.
It's seems that the problem is intermittent (see comments).
The files were not modified since ages and I don't remember any relevant changes in the Apache config but the inclusion of IPv6 Adresses (but this was months ago and the problems are newer).
The corresponding vhost definition
<VirtualHost 78.47.122.114:80 [2a01:4f8:d13:f44::2]:80>
ServerAdmin matteo@corti.li
DocumentRoot /var/www/dermadoc.ch/
RequestHeader unset If-Modified-Since
RequestHeader unset If-None-Match
<IfModule mod_headers.c>
<FilesMatch ".(js|css|xml|gz|html)$">
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
<Directory /var/www/dermadoc.ch/>
Options +Includes
AllowOverride AuthConfig
</Directory>
ServerName dermadoc.ch
ServerAlias dermadoc.ch ErrorLog logs/dermadoc.ch-error_log
CustomLog logs/dermadoc.ch-access_log combined
XBitHack on
</VirtualHost>
Some images are displayed as "broken", most likely only partially transmitted.
Are there some global settings that could have been changed by an Apache update?
Are there known problem with latest updates on Fedora?
Update
Looking at the log entries I notice that the size of the object varies greatly (from 1KB to 5KB for the very same file)
Why does Apache deliver different content for the same file?
For the file in my example (the first number is the number of entries in the log and the second the size):
1 1150
8 5472
11 5500
142 5549
Update 2
Completely removed mod_deflate.so. No improvements
Update 3
The delivered headers seems OK (with the correct size 5500)
HTTP/1.1 200 OK
Date: Thu, 24 Mar 2016 17:13:39 GMT
Server: Apache/2.4.18 (Fedora) OpenSSL/1.0.2g-fips PHP/5.6.19 SVN/1.9.3 mod_wsgi/4.4.8 Python/2.7.10
Last-Modified: Thu, 24 Mar 2016 13:58:14 GMT
ETag: "157c-52ecbd675dda8"
Accept-Ranges: bytes
Content-Length: 5500
Content-Type: image/jpeg
More posts by @Sarah324
1 Comments
Sorted by latest first Latest Oldest Best
Your images are likely corrupt and one of the reason why some browsers or versions may work is because they may use a different imaging process that chooses to ignore the issue.
The image StarLux300-ipl-opl-laser_170x.png fails to load in:
Firefox v40.06b
Chrome V49.0.2623.87 m
IE/Edge v25.10586.0.0
Opera v11.60 Build 1185
Downloading the image and testing locally in Adobe Photoshop:
Solution: Replace your broken images with ones that are not broken.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.