Hi, All.
Maybe someone could tell me, what functions (or whatever suitable way) should I use to:
1) get the name of an album that is currently displayed (for use in "if" statement)
2) display the thumbnails not only of an album that is currently displayed, but also the thumbnails of all subalbums of the album.
Thank you.
Comments
The first issue is what do you mean by the "name" of an album. If it is the folder name, then you want `$albumobject->name` If it is the title or something else there are similar methods or properties in the object model.
There is not a function that will do the complete task of your second request. But again, the object model provides methods for fetching lists of subalbums and for fetching "thumbnails." There are methods for a "standard" thumbnail and ones for arbitrarily sized ones. You will have to write code to process a whole list.
You might also want to explore some of the plugins available. For instance, perhaps `paged_thumb_nav` might be what you are looking for.