Jump to content

Why can't I upload a .png (to an image block, asset library or gallery)?

Go to solution Solved by creedon,

Recommended Posts

Posted

I'm trying to upload images but the uploader doesn't recognize their file type even though the extension is .png. It's hurting their feelings (and stopping me from getting this done). Help!

 

image.png.8c67e98fb80cd919a724d2368cc0a01f.png

  • Solution
Posted

My guess would be either they are not PNG files. A file can be mislabeled with the wrong file extension.

Or, the files are corrupted.

Try to post one up here in the forum and we can check out out. If it is a bad file you may not be able to post it here but it doesn't hurt to try.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
21 hours ago, creedon said:

My guess would be either they are not PNG files. A file can be mislabeled with the wrong file extension.

Or, the files are corrupted.

Try to post one up here in the forum and we can check out out. If it is a bad file you may not be able to post it here but it doesn't hurt to try.

That makes sense. The file looks ok to me and opens but I can't upload it here either so maybe you're right. Found alternatives. Thanks 👍

Posted
1 hour ago, susieT said:

The file looks ok to me and opens

Most graphic programs will open many types of files. They don't go by the extension but by the file content. The programs read the file and if they recognize the format they will open it. So opening a file does not mean it is the same file type as the extension indicates.

Many programs will also have an info panel that when opened will give you basic information about the image file; dimensions, resolution, file type, and etc.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

  • 10 months later...
Posted (edited)

How about this one though @creedon ? Uploads fine, looks fine but still, getting the error "there was an error. retry with the same file". With this and another 61 from the same source. Any ideas?

Air-condition.png.c0e208bd2916266a0e9b7b259303f783.png

 

**UPDATE**

 

I honestly cannot follow what goes in the heads of the programmers. The problem, apparently, was that I was trying to upload in a folder in the library and not to the root of the library. Seriously, wtf? Why would it make any sense first to upload on root and then spend time to tick and move in the folder

 

Edited by takis-7124
  • 4 months later...
Posted

Wow - i had this same issue and it is definitely a root vs folder issue. Half the files uploaded in the folder but the others didn't. When i tried uploading to the root, everything uploaded fine. Crazy. 

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.