artViper gallery

The original gallery has been taken from http://www.aaronbirchphotography.com and updated
with an XML parser that automatically reads images from a folder, creates the according thumb-
nails, reads the EXIF informations of the JPG's and writes all this to a XML file.

 

How it works:

You'll get three files:

 

Place the createList.php into your image directory. Call it from your browser. It will automatically
create a thumbs.xml file. The directory must be named "images" or change it in the createList.php
and readList.php to your needs.

 

Place the readList.php into your image directory. Open up your index.php and change the following:

 

<div id="landscape" class="thumbnailContainer"> // your image container
<div class="clipper">
<?php include("images/readList.php"); // your image directory and the call to the readList.php
$x = htmlentities(parseme('thumbs2.xml')); // call the function to read the xml file
?>
</div>

 

EXIF DATA:

The exif data will be read from each file in the images directory. If you don't have exif data in your images,
right click ( Windows ) on a image file, choose properties, and select "File info". There you can insert a title.
The title will be the information displayed as image caption.

 

REQUIREMENTS:

You'll need the mootools framework, PHP5 ( to read EXIF data ) and that's it. Concerning the page height and
the displayed amount of thumbnails, go to images.js and change the following line, so it matches your needs:

 

'height': [thumbs[selected].getStyle('height').toInt(), 275] // whereas the 275 represents the height of the image
container.

 

DOWNLOAD:

Grab your copy here

Coffee & Creme Template
Coffee & Creme Template

Another day in paradise
Another day in paradise