Merge pull request #1466 from jloguercio/1.11.x

Fix session extra_image crop function
remotes/angel/1.11.x
José Loguercio 8 years ago committed by GitHub
commit 5396c4d156
  1. 2
      main/inc/lib/extra_field_value.lib.php

@ -226,7 +226,7 @@ class ExtraFieldValue extends Model
//Crop the image to adjust 16:9 ratio
$crop = new Image($value['tmp_name']);
$crop->crop($value['crop_parameters']);
$crop->crop($params['extra_' . $field_variable . '_crop_result']);
$imageExtraField = new Image($value['tmp_name']);
$imageExtraField->resize(400);

Loading…
Cancel
Save