Jump to content

Recommended Posts

I have uploaded a png image file to my server using FTP, the file is simply '.png' but displays the broken image icon

 

the image url is: http://www.instaworldcup.com/.png

 

how do i get this image to display with the name '.png' as I have seen on other sites, but i am having no luck

Link to comment
https://forums.phpfreaks.com/topic/290039-to-display-an-image-file-with-no-name/
Share on other sites

The ".png" is alright, though you really should rename it.

 

Downloaded, it looks like a PNG to me, which suggests it really is corrupted. Did you upload the file using binary mode? (Or how did you upload it?)

thanks for the replys,

 

all is good now

 

I uploaded using filezilla, and it was set to 'auto' changed it to 'binary' and it displays the image

 

i needed to do this as the script i am using requires, i could of worked through the script changing it, but now i am all the wiser and have another string to my coding bow :)

 

should now always keep filezilla in binary mode?

  • 1 month later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.