First your usage of the function is wrong. You can 't leave out parameters inbetween. If you want to set the last one you have to set all others before, too. Only if you want only the first one(s) you can leave out the others.
Example for your example: printLatestImages(1, "", false, false,false,40,"", 630, 630, false);
Please take also a look at http://www.zenphoto.org/2008/04/how-to-read-the-zenphoto-functions-guide/
ok, i'm tried it with that and it's kinda workin that far:
$images = getImageStatistic($number ='1', $option ='latest');
foreach ($images as $image) {
$myurl= $image->webpath;
$myname =$image->album->name;
$myname = ucwords(str_replace('-',' ',$myname));
echo '
by '.$myname;
}
But, how can i check if it's an image or a video/mp3?
I tried some stuff but it's not working.
lg
leon