1. Home
  2. Computing & Technology
  3. Web Design / HTML

Free Web Template: Fancy Photo Gallery Website Template

By , About.com Guide

Fancy Photo Gallery Layout

Fancy Photo Gallery Layout

Screen shot by J Kyrnin
About this Web Template:

This photo gallery uses a list tag and CSS to place the thumbnails on the page. It then uses JavaScript to display the larger images on the same page - greying out the thumbnails until the image layer is dismissed.

See The Template

Scroll down for instructions on how to get the files for this template.

Works in Browsers:

Windows

  • Firefox and Mozilla 1 and 2
  • Internet Explorer 6 and 7
  • Opera 8.5 and 9
  • Safari 3 (beta)

Macintosh

  • Firefox and Mozilla 1 and 2
  • Netscape 7
  • Opera 9
  • Safari 1, 2 and 3
Details of Fancy Photo Gallery Template:
  • Centered 780px wide layout
  • All photo thumbnails are in an unordered list and styled with CSS
  • Clicking on a photo displays the full-size photo in a layer on the same page
  • Mousing over a photo displays a caption below the photo
  • In Firefox, all borders are rounded
To Use the Free Web Template:
  1. Copy the CSS into a document named styles.css
  2. Copy the JavaScript file into a document named scripts.js
  3. Copy the HTML into a file in the same directory
  4. Change the images in the list to your images
  5. Don't forget to add a title to the page
  6. Publish all documents (HTML page, CSS file, and JavaScript file)
  7. If you want to add design changes - create another CSS file or add it to styles.css
The JavaScript:

The gray out effect was generated from a script from Hunlock.com. The popup effect is done based on Eric Meyer's Pure CSS Popups.

The Thumbnails:

One of the easiest ways to create thumbnails is with Fookes Easy Thumbnails (Windows) or CocoThumbX (Macintosh). Sue, the Graphics Software Guide explains how to use Easy Thumbnails.

The Web Site Template Data:
More Web Site Templates:
Terms of Use:

You are free to use any of the free Web templates here for personal or commercial designs, either in print or on the Web, excluding items for resale. You may not give away, sell, or redistribute the files in any way. Do not post these files on any another Web site, electronically distribute them, or include them in any package for distribution. If you find these files useful, please include a credit line or a link back to this site [http://webdesign.about.com/]. Terms of use last modified 8/29/2004.

Explore Web Design / HTML
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. Web Design
  5. Principles of Web Design
  6. Layout
  7. Web Site Templates
  8. Free Web Templates
  9. Fancy Photo Gallery Template - Free Web Template - Fancy Photo Gallery>

©2009 About.com, a part of The New York Times Company.

All rights reserved.