Hello All...
I am trying to make a gallery. The gallery uses simple thumbnail display of images which are uploaded by repeatable regions in the backend. And to show the image enlarged i am using lightbox2. So each set of images are PAGES.
Now my requirement is that:
1. Dynamic Folders to create categories like, Birthday, Wedding, Pre-wedding, etc.
2. Each dynamic folder shall contain one or more pages. So if there is:
a. Single PAGE then its content, i.e. images, must be shown
b. Multiple PAGES then a list of all pages must be shown and when clicked (one of the multiple page) content of that PAGE must be shown.
So the Structure could be like:
When the Page loads, I want to show only the Folder.
When A Folder is clicked, It must display either all the pages in it (if there are multiple Pages in the folder) or display all the images on that page (if there was only one page in the folder)
Do i need to do this with the <cms:embed> as in the blog tutorial or by <cms:if k_is_folder>/ <cms:if k_is_page> tags?
Regards,
GenXCoders
I am trying to make a gallery. The gallery uses simple thumbnail display of images which are uploaded by repeatable regions in the backend. And to show the image enlarged i am using lightbox2. So each set of images are PAGES.
Now my requirement is that:
1. Dynamic Folders to create categories like, Birthday, Wedding, Pre-wedding, etc.
2. Each dynamic folder shall contain one or more pages. So if there is:
a. Single PAGE then its content, i.e. images, must be shown
b. Multiple PAGES then a list of all pages must be shown and when clicked (one of the multiple page) content of that PAGE must be shown.
So the Structure could be like:
#Birthday (Folder)
- Mr X B'Day (Page)
- Ms Y B'Day (Page)
#Wedding (Folder)
- Mrs & Mr Z Wedding (Page)
#Pre-Wedding (Folder)
- Mr A and Ms B Pre-wedding Shoot (Page)
When the Page loads, I want to show only the Folder.
When A Folder is clicked, It must display either all the pages in it (if there are multiple Pages in the folder) or display all the images on that page (if there was only one page in the folder)
Do i need to do this with the <cms:embed> as in the blog tutorial or by <cms:if k_is_folder>/ <cms:if k_is_page> tags?
Regards,
GenXCoders