I'm trying to create a way to retrieve exif data all on one line for use with Lightbox 2 JS.
How would I go about create my own {exif_thing} to use in templates?
The string I use currently to read exif is - this is processed in the details.html template, and refers to the php script 'exif.inc' which processes the image, and outputs exif data on one line (see
here for example)
<?php $filename = "{media_src}"; require("exif.inc"); $er = new phpExifRW($filename); $er->processFile(); $er ->showImageInfo(); ?>
I would love to be able to get this working, or somehow have the 4images own exif tool instead, but all the items on one line like such:
Focal Length, F stop, Shutter speed, ISO
Any ideas? (I have searched and found a number of exif related threads, but not had much luck in finding what I'm after).