Changeset 23498 for branches


Ignore:
Timestamp:
Jun 24, 2013, 3:33:02 PM (8 years ago)
Author:
plg
Message:

feature 2929: strip metadata on configurable threshold

Location:
branches/2.5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.5/i.php

    r20578 r23498  
    610610}
    611611
    612 if ($d_size[0]*$d_size[1] < 256000)
     612if ($d_size[0]*$d_size[1] < $conf['derivatives_strip_metadata_threshold'])
    613613{// strip metadata for small images
    614614  $image->strip();
  • branches/2.5/include/config_default.inc.php

    r22660 r23498  
    781781$conf['derivative_default_size'] = 'medium';
    782782
     783// below which size (in pixels, ie width*height) do we remove metadata
     784// EXIF/IPTC... from derivative?
     785$conf['derivatives_strip_metadata_threshold'] = 256000;
     786
    783787//Maximum Ajax requests at once, for thumbnails on-the-fly generation
    784788$conf['max_requests']=3;
Note: See TracChangeset for help on using the changeset viewer.