Quote:I hate to be critical of such a good project but the documentation and its search functions are woefully inadequate and an example
It probably is and you like anyone else is invited to help as we did on numerous occasions to others as well.... http://www.zenphoto.org/pages/get-involved
next_image is a standard template function and found here:
http://www.zenphoto.org/documentation/functions/_template-functions.php.html
You can easily find all functions using the browser page search here:
http://www.zenphoto.org/documentation/elementindex.html
All class methods are documentated and use normal oo.
There is no first image function but this album class method:
`$firstimage = $_zp_current_album->getImage(0)`
Documented here: http://www.zenphoto.org/documentation/classes/AlbumBase.html#methodgetImage
It is the album base class as we make use of the inheritance of classes. Those are listed on the tutorial and the functions documentation.
That returns an image object so from there on you can use the object methods to get all else, title,links whatever. Direct links to class documentation are here:
http://www.zenphoto.org/news/functions-documentation
PS: I see the object model tutorial does require an update for the current class nesting.