Announcement

#1 2016-07-27 13:03:18

J0nny
Guest

How to keep meta data in small sizes

Hi,

I notice Piwigo strips the meta data of smaller sizes. My large and medium sizes retain the meta data however  my 432x 297 pixel thumbnails strip the meta data.

How can I fix this, I want to keep the IPTC meta data in all sizes.

I cannot see any reason to ever remove the copyright / author from an image file.


I have Piwigo 2.8.2 with Fotorama

Regards,

Jonny

 

#2 2016-07-27 13:42:04

teekay
Member
2013-06-12
404

Re: How to keep meta data in small sizes

From include/config_default.inc.php:

Code:

// below which size (in pixels, ie width*height) do we remove metadata
// EXIF/IPTC... from derivative?
$conf['derivatives_strip_metadata_threshold'] = 256000;

You can override this in local/config/config.inc.php (e.g. using LocalFiles Editor plugin)

It's really a multiplication, so 432x297 is 128304. Setting it to 1 should basically disable any metadata stripping.

Last edited by teekay (2016-07-27 13:49:06)

Offline

 

#3 2016-07-27 19:49:54

J0nny
Guest

Re: How to keep meta data in small sizes

Yeaaahhh  :o)

Thanks for that, it worked a treat. I set it to 100 and now all my 432 images have a full description and attribution  :o)

 

#4 2016-07-28 22:10:52

erAck
Member
2015-09-06
158

Re: How to keep meta data in small sizes

Just why is the default set to 256000 which leaves already a 500x500 image without metadata? Shouldn't the default be to include metadata in *all* sizes?


Running Piwigo at https://erack.net/gallery/

Offline

 

Board footer

Powered by FluxBB

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