Member
Member
martin.s   25-01-2009, 01:23
#1

Hi!

I just tried the following:

I wanted to get the Exif Data on the same page as the main foto is displayed.
So far everything worked fine, here the result:
http://www.rdmag.de/photo/wacken-2008/IMG_000008.jpg.php

So now the only thing I would like to change is the output format of the Exif data.

I would like them displayed like:

Canon EOS 30D - 1/400 sec - f/7,1 - 350 mm

(and not like now:
Camera Model: Canon EOS 30D
Shutter Speed: 1/400 sec
Aperture: f/7,1
Focal Length: 350 mm )

I would be glad if there is a possibility to get the Exifs in a format like this or each Exif on its own so that I can put them together in the theme like I want them.

Thanks a lot!

Best!

martin

Member
Member
sbillard   25-01-2009, 01:47
#2

Each of the EXIF fileds is available on an individual basis by using the function getImageData(). So you will need to make yoru own formatting such as:

echo getImageData('EXIFMake').' '.getImageData('EXIFModel'). ' - '. getImageData('EXIFFNumber'). ' - ' . getImageData('EXIFFocalLength');

Member
Member
martin.s   25-01-2009, 09:00
#3

Thank you so much!
That worked absolutely perfect:

http://www.rdmag.de/photo/wacken-2008/IMG_000008.jpg.php

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.