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.
- Fix for Gallery Module view.php
- Gallery 2.1.2
- Gallery2 Moodle Module for 2.1.2
- Original discussion thread on problem