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/
if (!$files = $fs->get_area_files(
context_user::instance($USER->id, IGNORE_MISSING)->id, 'user', 'draft', $draftid, 'id DESC', false)) {
redirect($PAGE->url);
}
Thanks
Thanks
\edit\base_class.php line 44
\db\upgrade.php lines 209 and 210
rsslib.php line 52
locallib.php line 157
index.php line 68
lib.php lines 116 and 193
imageedit.php line 44
comment.php line 47
I think that's all of them.
Correct on all counts I'd say. Lightboxgallery hasn't had much code cleanup lately. I'll be doing some cleanup to make it work nicer with 2.7. Given all the api changes/deprecations since 2.3.
Correct on all counts I'd say. Lightboxgallery hasn't had much code cleanup lately. I'll be doing some cleanup to make it work nicer with 2.7. Given all the api changes/deprecations since 2.3.
Just curious, as we start the upgrade testing
-Derek
I've begun work on getting lightboxgallery working on 2.7. Strictly speaking, it should already work, however several parts of it are using deprecated functions/api's that need updating.
I've flagged the following bits as needing attention for a 2.7 version.
a) context classes (thanks to @ndunand for the context fixes - they've been merged in now.)
b) Port add_to_log calls to events.
c) Migrate comments to core comment API - lightboxgallery doesnt do anything fancy that core comments cant handle.
d) fullname requiring additional name fields from queries to {user}.
(a) has already been done as noted. I've partly completed (b) and am working on (c). I expect to have these all finished and a 2.7 version available this week.
I also updated the user_complete and user_outline modules in lib.php to not require use of the {log} table. Lastly, I updated the javascript used for the lightbox to the version @brum1975 made a pull request with.
Please file an issue on github if you try out the 2.7 version and run into any problems.