Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2017-03-10 22:40:32

Kinsman
Member
Registered: 2017-03-01
Posts: 16

Adding More Exif Fields

Hi,

I would like to add some more exif fields to my gallery like shutter speed, exposure time etc. I have found where, but am not confident, as it seems I need to add language updates somewhere as well?

$conf['show_exif_fields'] = array(
  'Make',
  'Model',
  'DateTimeOriginal',
  'COMPUTED;ApertureFNumber'
  );

I was hoping someone who has done this could post their config, and let me know if/where I need to add the language updates as well?

Piwigo version: 2.8
PHP version: 5.6.30
MySQL version: 5.5
Piwigo URL: http://www.bikesnstuff.net/gallery

Offline

 

#2 2017-03-11 08:11:55

ddtddt
Piwigo Team
Location: Quetigny - France
Registered: 2007-07-27
Posts: 6686

Re: Adding More Exif Fields

Hi :-)

Active plugin exif view


You love Piwigo so don't hesitate to participate, learn more on the "Contribute to Piwigo" page. If you don't have much time for contribution, you can also help the project with a donation.

Offline

 

#3 2017-03-11 09:59:36

Kinsman
Member
Registered: 2017-03-01
Posts: 16

Re: Adding More Exif Fields

Thanks, that is a nice plugin but it does not display any extra fields?

Reading the config file it seems they can be added, if you know how.

// show_exif_fields : in EXIF fields, you can choose to display fields in
// sub-arrays, for example ['COMPUTED']['ApertureFNumber']. for this, add
// 'COMPUTED;ApertureFNumber' in $conf['show_exif_fields']
//
// The key displayed in picture.php will be $lang['exif_field_Make'] for
// example and if it exists. For compound fields, only take into account the
// last part : for key 'COMPUTED;ApertureFNumber', you need
// $lang['exif_field_ApertureFNumber']
//
// for PHP version newer than 4.1.2 :
// $conf['show_exif_fields'] = array('CameraMake','CameraModel','DateTime');
//

Offline

 

#4 2017-03-11 10:20:54

Kinsman
Member
Registered: 2017-03-01
Posts: 16

Re: Adding More Exif Fields

Never mind, read the files and used the example listed there. :-)

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact