godotengine / godot-asset-library

PHP frontend for Godot Engine's asset library
https://godotengine.org/asset-library
MIT License
292 stars 87 forks source link

.PNG images are not allowed? #147

Closed SIsilicon closed 6 years ago

SIsilicon commented 6 years ago

When I went to update my ocean demo in the asset store, it gave me an error about the images not having a .png nor a .jpg file extensions. But my pictures were .PNG which really is a type of picture. Here is my asset prior to edit. I tried changing the file extension, but couldn't recognize it.

akien-mga commented 6 years ago

The validation check for extension should lowercase the extension before comparing to png or jpg.

In the meantime, you can fix it by renaming your file in git to .png (uppercase extensions are a MSPaint heresy anyway :P).

bojidar-bg commented 6 years ago

Oh sorry, I was thinking about this, but decided it wasn't a real usecase... guess it is never too late to find out, right?