plegall / Piwigo-exif_view

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

So how do you even use this?

timdonovanuk opened this issue · comments

Hi - even literally one line of documentation as to how this is used would be great, thank you! I've installed it and see no additional metadata when editing a photo in admin view or in the gallery view.

Took me a while to figure it out, but I found some documentation in the main.inc.php file. You'll need to use the LocalFiles Editor plug-in and replace the existing EXIF code with:

<?php $conf['show_exif_fields'] = array( 'Make', 'Model', 'ExifVersion', 'Software', 'DateTimeOriginal', 'FNumber', 'ExposureBiasValue', 'FILE;FileSize', 'ExposureTime', 'Flash', 'ISOSpeedRatings', 'FocalLength', 'FocalLengthIn35mmFilm', 'WhiteBalance', 'ExposureMode', 'MeteringMode', 'ExposureProgram', 'LightSource', 'Contrast', 'Saturation', 'Sharpness', ); ?>