Ignore:
Timestamp:
Dec 29, 2013, 11:02:14 AM (11 years ago)
Author:
mistic100
Message:

hide NESW handles when forcing ratio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/header_manager/include/banner.class.php

    r26298 r26308  
    5151    return $this->get_resize_result($destination_filepath, $crop['width'], $crop['height'], $starttime);
    5252  }
    53  
    54   private function get_resize_result($destination_filepath, $width, $height, $time=null)
    55   {
    56     return array(
    57       'source'      => $this->source_filepath,
    58       'destination' => $destination_filepath,
    59       'width'       => $width,
    60       'height'      => $height,
    61       'size'        => floor(filesize($destination_filepath) / 1024).' KB',
    62       'time'        => $time ? number_format((get_moment() - $time) * 1000, 2, '.', ' ').' ms' : null,
    63       'library'     => $this->library,
    64     );
    65   }
    6653}
Note: See TracChangeset for help on using the changeset viewer.