diff options
| author | Max Kremmel <xing@synapse.plus.com> | 2008-06-23 21:56:12 +0000 |
|---|---|---|
| committer | Max Kremmel <xing@synapse.plus.com> | 2008-06-23 21:56:12 +0000 |
| commit | bf1754e973fa6222327284fd4d519c80a1844d1c (patch) | |
| tree | 27734103a10d265a359e5916d4dea3a73678d671 /FisheyeGallery.php | |
| parent | 671001cea01a965175918f5966598a1e72b30878 (diff) | |
| download | fisheye-bf1754e973fa6222327284fd4d519c80a1844d1c.tar.gz fisheye-bf1754e973fa6222327284fd4d519c80a1844d1c.tar.bz2 fisheye-bf1754e973fa6222327284fd4d519c80a1844d1c.zip | |
replace individual function parameters with an array of options when using liberty thumbnail fetching functions
Diffstat (limited to 'FisheyeGallery.php')
| -rw-r--r-- | FisheyeGallery.php | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/FisheyeGallery.php b/FisheyeGallery.php index 5eee2f1..6d7cc49 100644 --- a/FisheyeGallery.php +++ b/FisheyeGallery.php @@ -1,6 +1,6 @@ <?php /** - * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.75 2008/06/23 02:03:51 spiderr Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_fisheye/FisheyeGallery.php,v 1.76 2008/06/23 21:56:12 squareing Exp $ * @package fisheye */ @@ -155,11 +155,19 @@ class FisheyeGallery extends FisheyeBase { if( $rows[$i]['image_id'] == $pCurrentImageId ) { if( $i > 0 ) { $this->mInfo['previous_image_id'] = $rows[$i-1]['image_id']; - $this->mInfo['previous_image_avatar'] = liberty_fetch_thumbnail_url( $rows[$i-1]['storage_path'], 'icon', NULL, TRUE ); + $this->mInfo['previous_image_avatar'] = liberty_fetch_thumbnail_url( array( + 'storage_path' => $rows[$i-1]['storage_path'], + 'mime_image' => TRUE, + 'size' => 'icon', + )); } if( $i + 1 < count( $rows ) ) { $this->mInfo['next_image_id'] = $rows[$i+1]['image_id']; - $this->mInfo['next_image_avatar'] = liberty_fetch_thumbnail_url( $rows[$i+1]['storage_path'], 'icon', NULL, TRUE ); + $this->mInfo['next_image_avatar'] = liberty_fetch_thumbnail_url( array( + 'storage_path' => $rows[$i+1]['storage_path'], + 'mime_image' => TRUE, + 'size' => 'icon', + )); } } } |
