13 Aug 2013
02 Oct 2013
Link to this post
There is a requirement for the site we are working on to have a rotating photo control. Photos are being added to the gallery and are being assigned to various categories. Then an image is being added to a page and based on a category, is being shown on that page.
The idea is to have this be random. So if there are 10 photos in one category, and an image gallery is on a page pulling photos from that category, it would show 1 random photo out of those 10. I know it wont be purely random but you get the idea.
What would be the best way to approach this? I could build a new widget but then would have to build the category selector tool along with other basic features of an image gallery.. or if possible, is there a way to modify the image gallery itself to handle such a requirement?