PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Sun Feb 23, 2020 3:18 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Feb 12, 2012 5:53 am 
Offline
Forum Newbie

Joined: Wed Feb 08, 2012 11:52 am
Posts: 7
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


Top
 Profile  
 
PostPosted: Sun Feb 12, 2012 8:32 am 
Offline
Moderator
User avatar

Joined: Tue Nov 09, 2010 3:39 pm
Posts: 6425
Location: Montreal, Canada
Localhost is Windows and live host is Linux? Probably a case-sensitivity issue. Mailbox.png != mailbox.png

_________________


Top
 Profile  
 
PostPosted: Sun Feb 12, 2012 3:35 pm 
Offline
Forum Newbie

Joined: Wed Feb 08, 2012 11:52 am
Posts: 7
Thanks.. it helped. . ;)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group