And if you're doing your own iteration over the album objects, rather than using a jAlbum tag, you need something like this:
<%
for(AlbumObject aof : currentFolder.getChildren(Category.folder)) {
if(aof.isIncluded() && !aof.isHidden()) {
Map fvars = aof.getVars();
fpath = fvars.get("closeupPath");
fthumb = fvars.get("thumbPath");
(do whatever it is you're going to do with them)
}
}
%>
And remember, if your skin is creating separate folder thumbnails, the path to the thumbnail really
will be something like
thumbs/Foldername.jpg. That's where the core stashes those "special" folder thumbnails. If the skin is
not using folder thumbnails, the path to the folder thumbnail will be something like
Foldername/thumbs/mydog.jpg.
Edited by: JeffTucker on 2 Dec 2023, 16:18 - code tweak