diff options
| author | Christian Fowler <spider@viovio.com> | 2007-06-30 03:44:43 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-06-30 03:44:43 +0000 |
| commit | 4288383508f080797ddd04486564ce4944581658 (patch) | |
| tree | 89cdd6f2648c57f2e0d36aba405a6cb7315eed85 | |
| parent | a2c6868b261bddf8fe68049868e4ead4e1ef36b1 (diff) | |
| download | fisheye-4288383508f080797ddd04486564ce4944581658.tar.gz fisheye-4288383508f080797ddd04486564ce4944581658.tar.bz2 fisheye-4288383508f080797ddd04486564ce4944581658.zip | |
pass resize value through to generateThumbnails in store() so resize on upload works with offline thumbnailer
| -rw-r--r-- | FisheyeImage.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/FisheyeImage.php b/FisheyeImage.php index 2d673af..12cecc3 100644 --- a/FisheyeImage.php +++ b/FisheyeImage.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeImage.php,v 1.61 2007/06/23 17:29:57 squareing Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeImage.php,v 1.62 2007/06/30 03:44:43 spiderr Exp $ * @package fisheye */ @@ -232,7 +232,8 @@ class FisheyeImage extends FisheyeBase { // check to see if we need offline thumbnailing if( $gBitSystem->isFeatureActive( 'liberty_offline_thumbnailer' ) ) { - $this->generateThumbnails(); + $resize = !empty( $pStorageHash['resize'] ) ? (int)$pStorageHash['resize'] : NULL; + $this->generateThumbnails( $resize ); } } } else { |
