I've tried to display some png images in following ways. Some get error some doesn't.
- Code: Select all
Error: Firefox message : Image cannot be displayed because it contains error
<img src="http://localhost/tools/12345_s.png" alt="abcde">
No error:
<img src="./12345_s.png">
No error if directly opened:
file:///D:/path/12345_s.png
No error if uploaded to 3rd party host online
It only happens in Firefox 3 (disabled all plugins already) & IE8 but not in opera and Google Chrome.
In Opera or Chrome, the png image sometimes appear broken via localhost.
But when I open it directly with firefox or other image software, they look normal.
jpg images work fine.
XAMPP 1.7.3 (same problem in WAMP) on Windows XP SP3
php.ini : memory_limit = 128M
What is the problem?