Parcourir la source

fix square images not getting proper thumbnails

tags/v4.0.0beta
Robin Appelman il y a 12 ans
Parent
révision
266699ddf9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      lib/image.php

+ 1
- 1
lib/image.php Voir le fichier

@@ -501,7 +501,7 @@ class OC_Image {
}
$width_orig=imageSX($this->resource);
$height_orig=imageSY($this->resource);
if($width_orig === $height_orig) {
if($width_orig === $height_orig and $size==0) {
return true;
}
$ratio_orig = $width_orig/$height_orig;

Chargement…
Annuler
Enregistrer