Skip to content

Commit

Permalink
Issue #7: Raise memory for resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
gthomas2 committed Jan 21, 2018
1 parent 878bc6c commit cdd2001
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions classes/image.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ public static function resize (
$jpgquality = 90
) {

raise_memory_limit(MEMORY_EXTRA);

if (substr($resizefilepath, -1) !== '/') {
$resizefilepath .= '/';
}
Expand Down

0 comments on commit cdd2001

Please sign in to comment.