Hi,
Thake the code from Shawn_a
The pad to the thumb is not correct ,? how to ad a other field. e.g ?
Thanks for help
Thake the code from Shawn_a
PHP Code:
<?php
$galleryItems = eg_return_gallery('naam');
debugLog($galleryItems);
echo "<h2>Gallery ".$galleryItems['title']."</h2>";
echo "<ul>";
array_walk($galleryItems['items'],'output');
echo "</ul>";
function output($item,$key){
GLOBAL $SITEURL;
echo "<div>";
echo '<a href="'.$SITEURL.'/data/'.$item['filename'].'" rel="lightbox">';
echo '<img src="'.$SITEURL.'/data/'.$item['thumb-0']['filename'].'">';
echo "</a>";
echo "</div>";
}
?>
The pad to the thumb is not correct ,? how to ad a other field. e.g ?
Thanks for help