diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-04-05 02:41:38 +0000 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-04-05 02:41:38 +0000 |
commit | d9c1dd67d44aaca6d0cc87f4e5e683252ee17072 (patch) | |
tree | c4fd2fd8fb7f324cf8ebee0fdb1d0c3fab52a961 /modules/slideshow | |
parent | 802f2431c7da467cbc58a7e970690ff6604e1c84 (diff) |
Change the way we launch PicLensLite so that it doesn't upscale small images.
This resolves ticket #205.
Diffstat (limited to 'modules/slideshow')
-rw-r--r-- | modules/slideshow/helpers/slideshow_menu.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/slideshow/helpers/slideshow_menu.php b/modules/slideshow/helpers/slideshow_menu.php index 0892ce89..8f76822e 100644 --- a/modules/slideshow/helpers/slideshow_menu.php +++ b/modules/slideshow/helpers/slideshow_menu.php @@ -23,7 +23,8 @@ class slideshow_menu_Core { ->append(Menu::factory("link") ->id("slideshow") ->label(t("View slideshow")) - ->url("javascript:PicLensLite.start()") + ->url("javascript:PicLensLite.start(" . + "{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})") ->css_id("gSlideshowLink")); } @@ -32,7 +33,8 @@ class slideshow_menu_Core { ->append(Menu::factory("link") ->id("slideshow") ->label(t("View slideshow")) - ->url("javascript:PicLensLite.start()") + ->url("javascript:PicLensLite.start(" . + "{maxScale:0,feedUrl:PicLensLite.indexFeeds()[0].url})") ->css_id("gSlideshowLink")); } } |