mirror of
https://github.com/friendica/friendica
synced 2025-04-25 06:30:11 +00:00
parent
1069cfb570
commit
7d10518e94
4 changed files with 6 additions and 21 deletions
|
@ -106,8 +106,8 @@ class Proxy extends BaseModule
|
|||
// stop.
|
||||
}
|
||||
|
||||
// reduce quality - if it is supported for this image type
|
||||
if (Images::canResize($image->getType())) {
|
||||
// reduce quality - if it isn't a GIF
|
||||
if ($image->getImageType() != IMAGETYPE_GIF) {
|
||||
$image->scaleDown($request['size']);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue