Ignite Gallery 2.1 Hacks

Ignite Gallery::Popup Window with Slideshow controls and close button on top Igallery Hacks

Ignite Gallery is a really nice commercial gallery component for Joomla 1.5 (native). Some of the hacks I used to adapt it to my needs on hellmachine.net might be useful for you aswell.

Close popup image when clicking on it

I wanted the popup image to close when clicking on it, not only when clicking on the close button (X).

  1. Go to [yourJoomlaDirectory]components/com_igallery/javascript/
  2. Open gallery.js
  3. Search for
    $(this.options.closeImage).addEvent('click', function(e)
  4. Replace the line with this:
    $(this.lboxGalleryObject.options.largeImage).addEvent('click', function(e)
  5. If you want to have the closing functionality on the image and the close button just duplicate the code block. The block ends at
    }.bind(this));

Move slideshow controls and close button to the top

When you enlarge an image on hellmachine.net you'll see that the slideshow controls and the close button (X) are moved to the top of the popup.

  1. Go to [yourJoomlaDirectory]/components/com_igallery/views/gallery/tmpl/default.php
  2. Rename default.php to default.phpbak so you have a backup!
  3. Replace default.php with the one in this .zip file.

The slideshow controls can be centered with CSS code in gallery.css:

  1. Go to [yourJoomlaDirectory]/components/com_igallery/css
  2. Rename gallery.css to gallery.cssbak for backup
  3. Replace gallery.css with this one.