Some EXIF in the "photo info" block

thany

Joined: 2010-06-22
Posts: 26
Posted: Thu, 2012-05-24 13:05

In the image viewer, there's a "Photo info" block. I'd like to customize it:
1) Remove title, description, filename and owner. I don't need to show that to visitors.
2) Display some meaningful EXIF data instead, such as camera model, shutter speed, aperture, focal length and iso.
3) Correct the capture date for time zones. This picture was shot in JST, but it shows as GMT.

Can it be done?

Login or register to post comments
xeta

Joined: 2011-11-24
Posts: 35
Posted: Fri, 2012-05-25 08:59

You can comment out the lines with the information you dont need in the following file: \modules\exif\lib\exif.php

www.xeta.at

Login or register to post comments
thany

Joined: 2010-06-22
Posts: 26
Posted: Fri, 2012-05-25 09:53

And what happens when I install an update for G3 or the module?

Login or register to post comments
xeta

Joined: 2011-11-24
Posts: 35
Posted: Mon, 2012-05-28 20:01

Like with every other manual adaptation, they will be lost. For this reason always check your files with sometihng like Winmerge and update with care.

www.xeta.at

Login or register to post comments