DateTimeOriginal char corruption
-
Hi, I have a problem using exif:DateTimeOriginal in a Content Template. I have a bunch of jpeg images all originating from the same camera, all edited and converted to jpeg at the same time. I’m using [+exif:DateTimeOriginal,date(‘F j, Y’)+] to pull the date taken from each image. Most images are fine but one or two will have a weird character in place of the date, and a few have today’s date instead of the taken date. The faulty images appear fine in Bridge or from the exif command line tool. I’ve tried a few variants on DateTimeOriginal, no filters and raw and with no luck.
The workaround is to simply save the faulty image again (not ideal as it’s recompressing a jpeg but good enough for web use) and this usually fixes it. If it doesn’t then a second ‘save as’ usually does the trick!I’ve tried different base file names, varying the IPTC description/title I have in there (it doesn’t appear to be being caused by weird characters somewhere upstream as far as I can see). It only happens with exif:DateTimeOriginal. Other substitution fields are fine. This is the full Content Template I’m using to generate a title. I’ve cut it down to just [+exif:DateTimeOriginal+] on it’s own – no joy.
template:[+terms:attachment_category+] – ([+iptc:caption-or-abstract+] – )[+exif:DateTimeOriginal,date(‘F j, Y’)+]
- The topic ‘DateTimeOriginal char corruption’ is closed to new replies.