I hope someone can help me out as I'm kinda stuck here. I've built a simple jquery gallery application. What it does is the following: It uses a php script to scan a certain directory for images and thumbnails. This script passes a string (array images) to my 'index.php' page that houses the gallery. The gallery basically is a set of thumbnails and one large image (of the selected thumbnail) that are loaded from the aforementioned string. It uses jquery to attach eventhandlers to the thumbs, so when they are clicked, the large image shows the image of the clicked thumb.
I would like to use a galleryholder page that lists the different galleries, and a gallerypage for each gallery.
I have the following questions:
- Is it possible to have GalleryPage look in a certain directory for its images? If yes, how?
- Can I extend the CMS to allow the uploading of thumbs and images per GalleryPage to a certain directory?
- Is it possible to make use of the jquery lib. integrated in silverstripe and if yes, how is this best accomplished?
There are some more questions but if someone can help me out with these, I'd be very grateful. If I was no clear enough in explaining what I want, please say so. I can also upload the gallery i built if needed.
Any directions would be greatly appreciated.