
AutoViewer - Automatic Web Server Instructions
These instructions show you how to create a AutoViewer gallery by uploading your images to your web server, and running a server-side script. The script will generate the XML file required by AutoViewer. Follow the steps below to create a AutoViewer gallery on your website.
1: Download AutoViewer Files
Download and unzip AutoViewer files to a new folder.
2. Download Build Script
Download PHP build script (for web servers that can run PHP - check with your webhost). Unzip Build script into the same folder created in Step 1.
3. Add Image Files
Copy your image files to the 'images' Folder. Images should be JPGs and saved as 'non-progressive'.
4. Set Gallery Options (optional)
Edit the Build script using a text editor (e.g. NotePad, Text Edit). Set gallery options where indicated in the script. Check here for a list of supported XML options.
5. Set Background Color (optional)
To set the background color, edit index.html. Enter the hex color value as the last parameter in the SWFObject code line:
var fo = new SWFObject("viewer.swf", "viewer",
"100%", "100%", "8", "#ff00ff");
6. Upload Files
Upload all your files to a new folder on your web server using an FTP program.
7. Set File Permissions
Set file permissions on the build script to 'execute'. You can do this with your FTP program, check the documentation.
8. Run Build Script
In a web browser, navigate to the URL of your build script (For example 'http://www.mySite.com/myGallery/build_av_gallery.php' ). The build script will inform you if XML have been created successfully.
9. Edit Captions (optional)
If you require customised image captions, you can download and edit gallery.xml from your gallery web folder. gallery.xml is a simple text file that can be edited in any text editing software (e.g. NotePad, TextEdit). Insert image captions in the caption tag for each image. Re-upload gallery.xml back to your gallery web folder.
To Update Gallery
To update your gallery with new images, upload the new images to your images folder, then re-run the build script (see Step 8).
Note: If your new images are not showing up, you may need to delete your browser's cache, check the FAQ, Q4.