Albums Index | Changelog

About Duncs Photo Albums


Introduction

I originally wrote this PHP photo album in a big hurry in March 2004 before a holiday in Las Vegas. I'd just got a digital camera and I wanted a simple photo album which I could understand and could use from any internet cafe. I've since improved the albums a bit and added a few features, but the albums are still simple to understand and use.

Setting up an album


|

To create a new album, all you need to do is create a folder ending in '_album', and put photo's in it. This is now an 'album' and it will appear on the albums index. For example, creating a folder called 'las_vegas_album' and uploading 21 pictures into it would create an entry in the index which looks like this:

Using Albums

Clicking the 'Update Thumbnails' link will create thumbnail and medium sized images for all the pictures in the album, and also create a cover for the album (see below). Thumbnails go into a 'thumbs' folder inside the album folder and medium files go in a 'medium' folder – both of which will be created for you.

Clicking on the album cover or title will take you to the contact sheet index for that album. The contact sheet index uses the thumbnail images. Each contact sheet image will look like one of these, depending on wether you've updated your thumbnails or not:

IMG_0063.jpg
Dimensions: 2272x1704
Type: JPEG Image (.jpg)
Size: 791.72 KB
IMG_0063.jpg
Dimensions: 2272x1704
Type: JPEG Image (.jpg)
Size: 791.72 KB
Clicking on the thumbnail image will take you to the image viewer which displays the 'medium' sized image, along with some information about the picture. You can click on the medium sized image to load the full sized original picture in your browser.

Album covers

When you update the thumbnails after creating or adding photo's to an album, a cover image is created for you. These covers vary depending on the number of images in the album. Your actual album covers will have the first picture in the album in place of the gray rectangle.

Tiny Album
Album has 4 or less images.
Small Album
Album has 5 to 10 images.
Medium Album
Album has 11 to 20 images.
Large Album
Album has 21 to 40 images.
Huge Album
Album has 40+ images.

Example album cover:


This album has 21 images in it (shown by the [21] after the album name), so it gets the medium album cover, with the first picture in the album on the top.