Is there a suggested approach to implement an image component that randomly picks one image from a set images from DAM every time the page is displayed? The caveat is that I don't want to have server code to do it: I want the component to behave as a static component, so it can be cached by Dispatcher.
I thought of a client side solution, in which Javascript randomly picks one DAM URL from a predefined set. Is there other approach? A DAM endpoint which does this job?
Thank you.