Hi, I have a site where I randomize the background image using a php rotator script file. But I was thinking, is it possible to create a small preview gallery of each background image and make it so that when the user hovers over an image, the css background image of the site is changed on the fly? And when the user clicks on the image he wants, the image is permanently changed? The image URL would probably need to be saved in a database record btw.
How would I do this? First I'd need to create the gallery right. Perhaps I could do a "for each image in folder, display as stack panel" ? Making it so that based on the images in a said folder, the images are automatically published in the gallery?
Any ideas or thoughts on how I should do this? Base it on an existing gallery plugin perhaps?