A cross browser CSS photo gallery. Well, mildy angry probably.
CSS photo gallery - Hovering on thumbnail reveals it with no opacity and shows a preview photo with a short description in the centre of the gallery.
Files to download
This template is tableless and uses only css for positioning and opacity. By saving the files below, you should have a gallery working in 5 minutes.
The HTML
Go to the blank html template, copy and save the markup as shown.
The CSS
Copy the gallery css file and save as gallery.css in the same directory as the html template. For an explaination of the css there is a css help page with comments on what can be tweaked.
Thumbnail and preview images
The template will work with no images, but if you want to see something happening reasonably quickly, the images referenced in the template are the ones below.
Thumbnail image (image01_thumb.jpg)
Preview image (pre_image01.jpg)
History
The opaque effect was found on stu nicholls CSS PLaY experiments with css site, a very good site for innovative css.
I kept the opaque effect and adapted the idea for this photo gallery template. After a bit of messing around, I finally recently got it to work for our main photo galleries.
Feedback
Any comments? Go to the CSS photo gallery template comments page.
Compatibility
I have checked it out with the following browser versions and given comments as to performance. I've also checked at 1280x1024, 1024x768 and 800x600 screen resolutions and they are ok too.
I've used some 149x112px spacer images set to background colour which works fine, the images are commented out by default.
It's a bodge I know, but life's too bloody short to waste time on a browser that only about 0.3% of our visitors use. Shoot me
Internet Explorer 5 spacer
Thumbnail spacer image (ie5.gif)