Contents Home Page Previous Page Next Page
IE4.x only

Taking images from a database

Click on the buttons to move through the photographs.




This is a great way to present a gallery of photographs on the Web using Internet Explorer's Data Binding capabilities. The images aren't stored in the database - they're in separate .jpg files on the server (so they don't get downloaded unless you ask for them). Each record in the database (a comma-separated file) contains the name of an image file plus some descriptive text, like this:

PicURL,Description
tajmahal.jpg,"This is a picture of the Taj Mahal, in Agra, India"
stmarks.jpg,"Here is a photograph of St. Mark's Cathedral, Venice, Italy"
stonehenge.jpg,"An evocative shot of Stonehenge, Salisbury Plain, England"

and so on...

By simply altering the .csv file and uploading new material images can be added or removed easily.