Haxton Fale Hello, I am currently using Piwigo as a gallery for (among other things) my Final Fantasy screenshots, taken in PNG format. However, they end up uploaded without the correct creation date set even though I am reasonably certain that I have it set correctly with exiftool. Having said that, setting the metadata ahead of upload every single time is a major pain, and I'd much rather have the information retrieved from filenames if appropriate. Is there a plugin to do so?
ddtddt Hi :-) Have you read this doc page -> https://piwigo.org/doc/doku.php?id=user_documentation:metadata&s=exif
Haxton Fale I have! It was most unhelpful. I have learned that PNG files do not store the metadata in the same way JPEGs do, but no matter how I tried to populate my own PNG files nothing seemed to stick upon upload.
erAck Haxton Fale wrotethey end up uploaded without the correct creation date set even though I am reasonably certain that I have it set correctly with exiftool. Could you provide a link to a sample image?
Haxton Fale Sure! Here is a picture that should have had its metadata set with exiftool, but as far as I can tell none of it sticks and/or Piwigo never reads the creation date correctly.
erAck Seems Piwigo can't read any EXIF/IPTC data from PNG. The PHP read_exif_data() function apparently also can't. After only 4 years of EXIF in PNG (eXIf chunk standardization) that standard may be too new.. *cough* As a workaround you could convert to JPEG before uploading, e.g. using ImageMagick convert file.png file.jpg
Haxton Fale I could, yes, but that's still adding extra steps to my original issue of "I would like to pull the date from filename if not present in metadata"
Haxton Fale Thus my initial question: is there anything that has this particular feature? A plugin, for example? I'll take that as a no.