Image gallery navigation - Display how many images per album
I have an image gallery that has many different albums, that include all the images. Each album contains a different amount of images.
I would like my navigation to display the total number of images for that album.
For example my navigation would like this: Bicycle (Image Gallery Photo) - 63 (number of images) --- Helmet (Image Gallery Album) - 20 ------- Helmet image (Image Gallery Photo) --- Jersey - 30 --- Shoes - 13 Football - 96 --- Balls - 22 --- Goals - 34 --- Players - 40
The doctype for the Image Gallery is called: nitroGallery The docytpe for the Image Gallery Album is called: nitroGalleryAlbum The doctype for the Image Gallery Photo is called: nitroGalleryPhoto
Can anyone suggest how I can achieve this in my navigation? I think I it's just a matter of getting the total number of child nodes that have that doctype (nitroGalleryPhoto).
Image gallery navigation - Display how many images per album
I have an image gallery that has many different albums, that include all the images.
Each album contains a different amount of images.
I would like my navigation to display the total number of images for that album.
For example my navigation would like this:
Bicycle (Image Gallery Photo) - 63 (number of images)
--- Helmet (Image Gallery Album) - 20
------- Helmet image (Image Gallery Photo)
--- Jersey - 30
--- Shoes - 13
Football - 96
--- Balls - 22
--- Goals - 34
--- Players - 40
The doctype for the Image Gallery is called: nitroGallery
The docytpe for the Image Gallery Album is called: nitroGalleryAlbum
The doctype for the Image Gallery Photo is called: nitroGalleryPhoto
Can anyone suggest how I can achieve this in my navigation?
I think I it's just a matter of getting the total number of child nodes that have that doctype (nitroGalleryPhoto).
Thanks in advance,
JV
Here's my XSLT:
is working on a reply...