Page 1 of 1

png image not showing on server

Posted: Sun Feb 12, 2012 4:53 am
by Madiha
I have made a php page. And have used in it a .png image. When i run it on localhost, it works fine, the image shows. But after i have putted the file on server. jpg image works fine, But png image doesnot show.

I have used the following code for displaying images

<img src="images/Mailbox.png" width="100%" height="100%" alt="">

Any body please

Re: png image not showing on server

Posted: Sun Feb 12, 2012 7:32 am
by Celauran
Localhost is Windows and live host is Linux? Probably a case-sensitivity issue. Mailbox.png != mailbox.png

Re: png image not showing on server

Posted: Sun Feb 12, 2012 2:35 pm
by Madiha
Thanks.. it helped. . ;)