kolber / stacey

Cheap & easy content management
http://staceyapp.com
MIT License
1.04k stars 132 forks source link

Stacey 3.0 not reading IPTC Metadata for .png images #67

Open gregcoleinfo opened 11 years ago

gregcoleinfo commented 11 years ago

Hi all, I have created my own site with Stacey 3.0, and found that .png IPTC metadata is not being parsed by Stacey.

I downloaded and ran a fresh version of Stacey, and the issue also occurs there. I am using Adobe Bridge CS6.

I think line 31 of app/asset-types/image.inc.php is the issue. $img_data = getimagesize($file_path, $info); I think the php function getimagesize(), can only get info from .jpg images (http://php.net/manual/en/function.getimagesize.php). Does anyone know a way to get around this? It would be a great feature for users who like to use iptc metadata to title and caption their images.

desbest commented 4 years ago

Do you still need help with this?