A Photo Gallery Designed for Scout Groups

While developing my group website I threw together a photo gallery in a way that would allow me or any other leader in the group to keep updating it easily over time. Assisting with the development of other group sites the code has been polished to suit a variety of needs and has turned itself into a proper system.

Any Scout Group using the Group website offer gets immediate access and automatic updates in future. These pages are designed for assisting in the webmaster of one of those sites adding the gallery to their site.

Setup or Install
Step 1: Creating a Gallery Page

Create a web page for your site, using whatever template and display that you want. Leaving a square area in the design for the gallery content to be displayed.

Into that square area insert the following HTML Code:     <iframe id="gallery" src="/cgi-bin/gallery/index.php" ></iframe>

This HTML tag can be modified to different sizes and colors by following the instructions in the FAQ Question 1 and changing the iframe#gallery entry in the .css file.

For those trying to use Proper Strict HTML, the IFRAME can be replaced with an OBJECT tag. No other changes need to be made. However be aware that a bug in Internet Explorer makes it always display an outline and scroll bars for OBJECT.

Step 2: Creating the Gallery Folders

In your website folder you will need to create a folder called 'gallery' (with lower case!). This is where the images are eventually going to go and all custom changes you make to the gallery display go.

In this gallery folder you need to create two levels of organising folders. I use these to split activity galleries by Section and Year, then each activity has a set of photos.

Point the First: Case Matters. Upper and lower case letters will appear in the web gallery Exactly the same as you create the folder names.

Point the Second: spaces and special characters (" & etc.) should not be used. Spaces can be represented by the _ character where needed. Others should be replaced with a-z or 0-9 text. The use of these may cause thumbnails not to appear and some galleries to to display at all.

Point the Third: All lists of folders are sorted alphanumerically as ASCII ( 0..9 then _ then a..z then A..Z ).

Step 2b: SECTION Folders
Step 2c: YEAR Folders
Step 2d: ACTIVITY Folders and Content
Step 3: Checking Your Creation

Your directory structure should look something similar to this:

/gallery/
/gallery/1_Keas/
/gallery/1_Keas/2006/
/gallery/1_Keas/2006/Kea_Day/
/gallery/2-Cubs/
/gallery/2_Cubs/2006/
/gallery/2_Cubs/2006/Cub_Day/
/gallery/2_Cubs/2006/Scubs_Camp/

When these folders and the gallery page are on the website. Use your browser to open the gallery page.

You should be able to see and browse the gallery exactly like any of the other groups using this system (i.e. Hillcrest or St Peters).