diff options
author | Mario <mario@mariovavti.com> | 2019-06-11 17:16:41 +0200 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-06-11 17:16:41 +0200 |
commit | 8848885d9a086817fbd90a960cf144a922134794 (patch) | |
tree | 205514a6dc08243166afd765071ed71dc6fac41a | |
parent | 7889612edce9e461139390ae46bd6d4483ff56d3 (diff) | |
parent | c1cab6789e7a16fed49211a25245a64e6d849ed1 (diff) | |
download | volse-hubzilla-8848885d9a086817fbd90a960cf144a922134794.tar.gz volse-hubzilla-8848885d9a086817fbd90a960cf144a922134794.tar.bz2 volse-hubzilla-8848885d9a086817fbd90a960cf144a922134794.zip |
Merge branch 'patch-1' into 'master'
Add resize on image scale to 4 and 7
See merge request hubzilla/core!1667
-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: |