Changeset 10382


Ignore:
Timestamp:
Apr 15, 2011, 2:12:01 PM (14 years ago)
Author:
patdenice
Message:

Don't strip metadata while regenerate websize pictures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/regenerateWebsize/ws_functions.inc.php

    r10358 r10382  
    4747      $params['maxheight'],
    4848      $params['quality'],
    49       true
     49      false
    5050      );
    5151
    5252    return true;
    5353  }
    54   /*
    55   elseif (!empty($image['width']) and !empty($image['height'])
    56     and ($image['width'] > $params['maxwidth'] or $image['height'] > $params['maxheight']))
    57   {
    58     trigger_event(
    59       'upload_image_resize',
    60       false,
    61       $image['path'],
    62       $image['path'],
    63       min($params['maxwidth'], $image['width']),
    64       min($params['maxheight'], $image['height']),
    65       $params['quality'],
    66       true
    67       );
    6854
    69     return true;
    70   }
    71   */
    7255  return false;
    7356}
Note: See TracChangeset for help on using the changeset viewer.