diff options
author | Max Kostikov <max@kostikov.co> | 2019-06-11 12:53:46 +0200 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-06-11 12:53:46 +0200 |
commit | 907777eeb0049ead4b7497f6f73f1ac68e46b739 (patch) | |
tree | 676220a1e308d9ba09491f4114374c33b56dce36 /util/thumbrepair | |
parent | e81e264988c8f01ca11474525162398a865e5282 (diff) | |
download | volse-hubzilla-907777eeb0049ead4b7497f6f73f1ac68e46b739.tar.gz volse-hubzilla-907777eeb0049ead4b7497f6f73f1ac68e46b739.tar.bz2 volse-hubzilla-907777eeb0049ead4b7497f6f73f1ac68e46b739.zip |
Add resize on image scale to 4 and 7
Diffstat (limited to 'util/thumbrepair')
-rwxr-xr-x | util/thumbrepair | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util/thumbrepair b/util/thumbrepair index e13a5f24a..6d3eabdbd 100755 --- a/util/thumbrepair +++ b/util/thumbrepair @@ -44,6 +44,7 @@ if($x) { $im->storeThumbnail($nn, PHOTO_RES_320); break; case 4: + $im->scaleImage(300); $im->storeThumbnail($nn, PHOTO_RES_PROFILE_300); break; case 5: @@ -55,6 +56,7 @@ if($x) { $im->storeThumbnail($nn, PHOTO_RES_PROFILE_48); break; case 7: + $im->doScaleImage(1200,435); $im->storeThumbnail($nn, PHOTO_RES_COVER_1200); break; case 8: |