mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-04-13 01:15:35 -04:00
Change the way we launch PicLensLite so that it doesn't upscale small images.
This resolves ticket #205.
This commit is contained in:
@@ -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"));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user