Changeset 12751

Show
Ignore:
Timestamp:
12/16/11 21:26:51 (18 months ago)
Author:
patdenice
Message:

Increase min ratio for big thumbnails smaller than required height

Files:
1 modified

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