forked from Public/pics
Re-assign thumbnail suffix for CROP_MODE_BOUNDARY.
This crop mode was intended to get the '_ce' suffix, but was inadvertently getting '_c' instead.
This commit is contained in:
parent
340ed84272
commit
b793e05980
@ -164,6 +164,8 @@ class Thumbnail
|
|||||||
$this->filename_suffix .= 's';
|
$this->filename_suffix .= 's';
|
||||||
elseif ($this->crop_mode === self::CROP_MODE_SLICE_BOTTOM)
|
elseif ($this->crop_mode === self::CROP_MODE_SLICE_BOTTOM)
|
||||||
$this->filename_suffix .= 'b';
|
$this->filename_suffix .= 'b';
|
||||||
|
elseif ($this->crop_mode === self::CROP_MODE_BOUNDARY)
|
||||||
|
$this->filename_suffix .= 'e';
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
$this->filename_suffix = '';
|
$this->filename_suffix = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user