Hi just spotted that singlepic would never display in the caption in a picture that had a caption defined (at least the title and the description is filled in the gallery item!)
Looking at nggfunctions.php I spotted:
$picturelist[$key]->caption = ( empty($picture->description) ) ? ' ' : html_entity_decode ( stripslashes(nggGallery::i18n($picture->description)) ); $picturelist[$key]->description = ( empty($picture->description) ) ? ' ' : htmlspecialchars ( stripslashes(nggGallery::i18n($picture->description)) );
Looks like we do a description check on the caption. Strange still, as description is also not filled into caption, means the check in the singlepic.php view template never catches. It should have been filled by description at least.
In the popup, I do see the description, but not caption, still.
Is this possibly suppose to be or a bug ?
Thanks for checking
PS: Is there documentation on how to add more templates through my own plugin, using existing template search mechanism from NGG?