Zenphoto Quick Reference
Zenphoto Quick Reference
Zenphoto Quick Reference
getGalleryTitle() getBareGalleryTitle() printGalleryTitle() getGalleryDesc() getBareGalleryDesc() printGalleryDesc() getMainSiteName() getMainSiteURL() getGalleryIndexURL($relative) getNumAlbums()
getAlbumDate($format) printAlbumDate($before,$nonemessage,$format, $editable,$editclass,$messageIfEmpty) getAlbumDesc() getBareAlbumDesc() printAlbumDesc($editable,$editclass, $messageIfEmpty) getAlbumCustomData() printAlbumCustomData($editable,$editclass, $messageIfEmpty) getAlbumData($field) printAlbumData($field,$label,$editable,$editclass, $messageIfEmpty) getAlbumPage($album) getAlbumLinkURL($album) printAlbumLink($text,$title,$class,$id) getAlbumThumb() getPasswordProtectImage($extra) printAlbumThumbImage($alt,$class,$id) getCustomAlbumThumb($size,$width,$height, $cropw,$croph,$cropx,$cropy,$gray) printCustomAlbumThumbImage($alt,$size, $width,$height,$cropw,$croph,$cropx,$cropy, $class,$id) getCustomAlbumThumbMaxSpace($width, $height) printCustomAlbumThumbMaxSpace($alt, $width,$height,$class,$id) getNextAlbum() getNextAlbumURL() getPrevAlbum() getPrevAlbumURL() getNumImages() next_image($all,$firstPageCount,$sorttype, $sortdirection,$overridePassword) getRandomImagesAlbum($rootAlbum, $showunpublished) printAlbumZip()
zenPHOTO
Quick reference
Full documentation: www.zenphoto.org/documentation Theming tutorial: www.zenphoto.org/2009/03/theming-tutorial/ printImageTitle($editable,$editclass,$messageI fEmpty) imageNumber() getImageDate($format) printImageDate($before,$nonemessage,$format, $editable,$editclass,$messageIfEmpty) getImageDesc() getBareImageDesc() printImageDesc($editable,$editclass, $messageIfEmpty) getImageData($field) printImageData($field,$label,$editable,$editclass, $messageIfEmpty) getImageCustomData() printImageCustomData() printImageLink($text,$title,$class,$id)
Archive Functions
getTags() printTags($option,$preText,$class,$separator, $editable,$editclass,$messageIfEmpty) printAllTagsAs($option,$class,$sort,$counter, $links,$maxfontsize,$maxcount,$mincount,$limit) getAllDates($order) printAllDates($class,$yearid,$monthid,$order)
General Functions
printAdminLink($text,$before,$after,$title, $class,$id) zenJavascript() printAdminToolbox($id) getHitcounter($obj) getCustomPageURL($page,$q,$album)
RSS Functions
printCustomPageURL($linktext,$page,$q,$prev, $next,$class) printRSSLink($option,$prev,$linktext,$next, $printIcon,$class,$lang) getRSSHeaderLink($option,$linktext,$lang) printRSSHeaderLink($option,$linktext)
Album context
makeAlbumCurrent($album) getAlbumTitle() getBareAlbumTitle() printAlbumTitle($editable,$editclass, $messageIfEmpty) albumNumber() getParentAlbums($album) printAlbumBreadcrumb($before,$after,$title) printParentBreadcrumb($before,$between, $after,$truncate,$elipsis) printHomeLink($before,$after,$title,$class,$id)
Search
getSearchURL($words,$dates,$fields,$page, $inalbums) printSearchForm($prevtext,$id,$buttonSource, $buttontext,$iconsource,$query_fields,$album_list) getSearchWords()
Comment Functions
getCommentCount() getCommentsAllowed() next_comment($desc) getCommentAuthorName() getCommentAuthorEmail() printCommentAuthorLink($title,$class,$id) getCommentDateTime($format)
Passwords
checkforPassword($silent) printPasswordForm($hint,$showProtected,
Image context
getImageTitle() getBareImageTitle()
$showuser,$redirect)