Moodle plugins directory: Lightbox Gallery | Moodle.org
Lightbox Gallery
Clicking on any of the thumbnails brings that image into focus, and allows you to scroll through the
gallery at your leisure. Using the Lightbox scripts creates nice transition effects when loading and
scrolling through the images.
For Moodle 2.x+, YUI version:
* CREDITS *
Maintained by: Open LMS product team
Original plugin by: Paul Holden <pholden[at]greenhead[dot]ac[dot]uk>.
For the Moodle 1.9 jQuery version:
Moodle jQuery Lightbox Gallery v1.0.0 (16th Nov 11)
* CREDITS *
Ported to jQuery from:
Lightbox Gallery v2.2.1 (12th May 09)
by Paul Holden pholden[at]greenhead[dot]ac[dot]uk
http://moodle.greenhead.ac.uk/external/lightbox_gallery/
Port performed by Andrew Hancox at Kineo.
http://www.kineo.com/
External documentation URL: https://github.com/andrewhancox/Moodle-jQuery-Lightbox-Gallery/wiki
Source control URL: https://github.com/andrewhancox/Moodle-jQuery-Lightbox-Gallery
Bug tracker URL: https://github.com/andrewhancox/Moodle-jQuery-Lightbox-Gallery/issues
Website URL: http://www.kineo.com/
I"ve taken a look on a 2.5.3 moodle and a 2.7 dev and can't see what you're seeing. However I've only done a quick check with the Standard and Clean themes in Chrome.
What browser are you using and which moodle theme?
I'm using standard theme and Chrome.
The problem seems to be in gallery-lightbox-min.js file.
I compared the new version of the file with the previous one and I added ".hide()" to B.one("#lightbox"), changing it in "B.one("#lightbox").hide()" and now it seems to work.
I'm not sure this solution is ok because I didn't check all the library's code.
i am new to moodle and using 2.6 version with Lightbox latest release 15-02-2014, my query is this gallery is responsive like or not because visual lightbox is responsive ti screen size visit http://visuallightbox.com/jquery-image-lightbox.html
my images are not fitting into the screen size they sre gon out of the screen.
Kindly help me
Thanks in advance
I think so. Here's my system information.
All other modules generation thiumbnails seem to work. for example the file manager. sysinfo moodle Thanks, Daniel
-Derek
Is there an easy way to speed up the transition animation to a new image? It takes long enough that users are mouse clicking to get to the next image before the animation has finished and it ends the slideshow because the Next and Previous click events aren't active yet?
The _showImage: function was missing the duration parameter in its animation in gallery-lightbox-min.js .
I added
duration: this.get("overlayDuration")
to S=new B.anim({...}) and it's working as per the overlayDuration parameter now.