I have a site with a sidebar on each side that is populated with images that rotate using an array. It works great except some pages have more content than others so I would like the amount of images to match the length depending on the amount of content on a page. I can manually set the number of images to display but ultimately it would be cool it they would populate/grow/reset programmatically. Is there a way to do that?
Or if not, is there a way to 'assign' a sidebar to a page?
Any help is most appreciated.