summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-04-05 02:41:38 +0000
committerBharat Mediratta <bharat@menalto.com>2009-04-05 02:41:38 +0000
commitd9c1dd67d44aaca6d0cc87f4e5e683252ee17072 (patch)
treec4fd2fd8fb7f324cf8ebee0fdb1d0c3fab52a961
parent802f2431c7da467cbc58a7e970690ff6604e1c84 (diff)
Change the way we launch PicLensLite so that it doesn't upscale small images.
This resolves ticket #205.
-rw-r--r--modules/slideshow/helpers/slideshow_menu.php6
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"));
}
}