Documentation for the Image Gallery
Before setting up the xml for the gallery, prepare all your images and thumbnails. The gallery can be set up as resizable or as nonresizeable. Depending on which variation you choose, resize your images and thumbnails accodringly, as images can appear pixelated if upsized too much by flash.
Once you have decided whether it is to be resizable or not, choose the correct gallery_*.html file and rename it to gallery.html.
When the gallery is resized it will always maintain a ration of 5x3
The thumbnails are square images, or they will be scaled down to fit inside that square area.
The xml is divided into various parts:
the gallery settings come here, these include texts, colors, etc.
Album settings, things specific to that album, this is here as other versions of this gallery may provide for multiple albums, though this version only allows one album
Image data, multiple such image blocks can be placed inside the xml
The Gallery settings:
0x333333
0xffffff
0xffffff
0xffffff
0x999999
0xcccccc
0x999999
0x6B94BF
0x000000
0xffffff
0x666666
true
true
This is the complete list of setting possible. The values stated are the default values. Those are the values that are used if that setting is omitted.
-> background color
-> image border color
-> thumbnail border color
-> text color of the title
-> text color of the image title
-> text color of the image description
-> text color of the copyright text
-> text color of the "purchase" button text
-> text color of the progress display when an image is loading
-> color of the arrow buttons when they are enabled
-> color of the arrow buttons when they are disabled
-> set to true to show an border around the image else set to false
-> same for the thumbnai border
-> the copyright text
-> if you want to provide your own image to replace the "purchase" button, place the path to that image here (swf and jpg allowed)
Album settings:
My album title
images/
thumbs/
img1.jpg
img1.jpg
title 1
desc 1
http://www.istockphoto.com
img2.jpg
img2.jpg
title 2
desc 2
123456
-> title text
-> you can provide a path to where your images are, this can be relative or absolute
-> path to the thumbnails
-> image name and path (the is inserted before this)
-> thumbnail name and path (the is inserted before this)
-> image title
-> image description
-> you can either provide an URL or an istock id that will be opened when the "purchase" button is clicked, providing neither results in the "purchase button being hidden
-> istock image id
That's all there is to this gallery.