Changeset 12751


Ignore:
Timestamp:
Dec 16, 2011, 9:26:51 PM (13 years ago)
Author:
patdenice
Message:

Increase min ratio for big thumbnails smaller than required height

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/main.inc.php

    r12733 r12751  
    183183  if ($size == 'big')
    184184  {
    185     $width = min($width, round($height * 1.15));
     185    $width = min($width, round(max($height, $new_height) * 1.15));
    186186  }
    187187
Note: See TracChangeset for help on using the changeset viewer.