I have a website that I am going to integrate Zenphoto into. The address is www.joshtx.com. Basically I am going to do something similar to what is being already done. However the gallery is all manually done. What I would like to know how to do is on the homepage. I show four random images from the gallery. How can I do this with Zenphoto? Thanks,
Josh
Comments
For example, if you want to display the latest pictures thumbnails, just paste that in your index.php theme file :
`
<?php
$images = getImageStatistic(4, "latest");
foreach ($images as $image) {
echo "";
$imageURL = getURL($image);
echo '<a href="'.$imageURL.'" title=" ' .
$image->getTitle() . '">getCustomImage(null, 100, 100, null, null, null, null, true) .
'" alt="' . $image->getTitle() . "\"/>";
echo "";
}?>
`
Josh