The Gallery module for Moodle is a very useful addon that allows you to upload images and view them in an easy accessible format.
You can upload a directory structure in a zip file and have it recreate that structure as albums on the server. It can auto-generate thumbnails and supports commenting and ratings.
The two most common problems with this module are users don’t read the README text file specifying that it only supports Gallery 2.1.2 (I missed this first time as well) and that the latest module available from Moodle.org has a bug that causes an endless redirection loop.
I have written a fix for the view.php file in the Gallery mod directory that fixes this problem.
The problem causes a continuous redirection and Firefox reports:
Redirection limit for this URL exceeded.Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
Useful Links:
- Fix for Gallery Module view.php
- Gallery 2.1.2
- Gallery2 Moodle Module for 2.1.2
- Original discussion thread on problem
Douglas Dixon has also been working on a module update to support Gallery2 2.2.3 but it is still in development.
http://moodle.org/mod/forum/discuss.php?d=82108
- Moodle Structure Problems - June 18th, 2009
- Renaming Novell user accounts - December 28th, 2008
- Some useful Moodle SQL Queries - December 15th, 2007
- Moodle: Bulk Deletion Operations - December 14th, 2007
- CC Day T4 2007: Installing and Using Moodle - December 12th, 2007
[...] Gallery: Shows slide shows and generates thumbnails of images. You can upload a zip file containing an entire folder structure of pictures, and auto-generate albums and sub-albums from it. [...]
Thanks for doing these posts. We are new Moodle EDU users. I have tried your method on a new Moodle on OSX Leopard server. Moodle 1.9.2.
I am getting all the setings to pass inspection & no looping. However all I get after creating a Gallery in Moodle, is a blank page when trying to go to the created gallery.
If I go in to the Gallery Admin, I can see the albums were created, & the ownership of the Moodle classroom teacher. However from the Moodle side, I can see the hitlinks to the albums, but if I try to click I get a blank page. URL is ending in /view.php?id=115
Any suggestions? Thanks in advance.
Skip