sforkowany z mirror/friendica
rodzic
00ad255540
commit
cddadb4b17
|
@ -839,7 +839,7 @@ class Photo
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$type = $this->guessImageType($photo, true);
|
$type = self::guessImageType($photo, true);
|
||||||
$img = new Photo($img_str, $type);
|
$img = new Photo($img_str, $type);
|
||||||
if ($img->isValid()) {
|
if ($img->isValid()) {
|
||||||
$img->scaleImageSquare(175);
|
$img->scaleImageSquare(175);
|
||||||
|
|
Ładowanie…
Reference in New Issue