Image Gallery Module
From Fishcakes Wiki
This page contains info about the Exponent Image Gallery Module and Image Gallery Module with Lightbox.
Contents |
About Image Gallery Module
Image Gallery allows users to post images to galleries. Image Gallery with Lightox displays the image using the Javacript Lightbox function.
Code Corrections
none
Modifications
Change the Image Gallery Lightbox Text
To change the "Image 3 of 4" text in lightbox pop-up edit the file:
/modules/imagegallerymodule/lightbox/js/lightbox.js.php
Edit line 440 to change "Image" to "Photo":
Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length);
change to:
Element.setInnerHTML( 'numberDisplay', "Photo " + eval(activeImage + 1) + " of " + imageArray.length);
Change the Image Gallery Lightbox Background Colour or Background Transparency
To change the Background Colour and/or Background Transparency (Background Opacity) for the Image Gallery Lightbox edit the file:
/modules/imagegallerymodule/lightbox/css/lightbox.css
Edit line 79 and/or 80:
#overlay{ position: absolute; top: 0; left: 0; z-index: 90; width: 100%; height: 500px; background-color: #000; filter:alpha(opacity=60); -moz-opacity: 0.6; opacity: 0.6; }
change to:
... background-color: #fff; filter:alpha(opacity=20); ...
Slideshow and Image Gallery Javascripts
Tests for replacement slideshow galleries for the Exponent Image Gallery Lightbox Module and Slideshow Module. See Max Kiesler: AJAX & Javascript Galleries, Slideshows and Effects Redux for links to best scripts. See also Ajaxian: Javasript Slideshows and Effects.
Electric Prism Slideshow
- Website — http://www.electricprism.com/aeron/slideshow/
- Comments — excellent. Everything except ability to pause slideshow.
FrogJS Javascript Gallery
- Website — http://www.puidokas.com/portfolio/frogjs/
- Comments — shows single image on page at time with previous/next thumbnails. Nice and completely open source.
Google AJAX Feed API
- Website — http://www.google.com/uds/solutions/slideshow/index.html
- Comments — creates slideshow from PHP feeld. Looks simple to use and seems to work with local or Flickr and other feeds, including iTunes.
LightWindow v2.0
- Website — http://stickmanlabs.com/lightwindow/
- Comments — very impressive. Can show images, video, swf, text, just about anything. Free for non-profit, but charged for commercial sites.
Photfusion Image Menu
- Website — http://www.phatfusion.net/imagemenu/index.htm
- Comments — nice script which gives clickable menu from images. Might be useful for image galleries page with first image from each becoming part of the menu.
Photfusion Slide Show
- Website — http://www.phatfusion.net/slideshow/index.htm
- Comments — nice slideshow with images show in set size div. Can have thumbnails or not.
Slimbox
- Website — http://www.digitalia.be/software/slimbox
- Comments — Slimbox, the ultimate lightweight Lightbox clone. Looks interesting but not sure it's worth the effort to make it all work.
- Also need Mootools — http://www.mootools.net/
Exponent CMS Resources
Official Exponent Resources
- exponentcms.org — official website.
- exponentcms.org Download — get Exponent.
- sourceforge.net Exponent — get Exponent from SourceForge.
- exponentcms.org Download Themes — change the look.
- exponentcms.org Download Modules — extend Exponent.
- exponentcms.org Forums — for advice.
- exponentcms.org FAQ — How Do I guide to common questions.
- exponentcms.org User Guides — PDF downloads.
- exponentcms.org Designers Guide — doesn't really exist yet!
- exponentcms.org Developers Guide — doesn't really exist yet!
- exponentcms.org How To Create a Module — basic module structure explained.
Unofficial Exponent Resources
- phpxref.com Exponent — online browsing of Exponent 0.96.3 source code.
- netstepcms.com eXponent Overview — good review of what's on offer.
- zimmertech.com Tutorials — excellent tutorials on variety of topics, including great Themes tutorial.
MySQL Resources
- mysql.com — MySQL official website.
- mysql.com Documentation — official user guide.
- wikipedia.org MySQL — good history and definition.
- php.net MySQL Functions — using PHP and MySQL together.
PHP Resources
- php.net — PHP Hypertext Processor official website.
- wikipedia.org PHP — good history and definition.
- w3schools.com PHP Tutorial — excellent online tutorial.
- php.resourceindex.com — index of PHP code snippets for the seriously techie.

