Is it possible to programmatically 'click' a thumbnail in the fotorama gallery on a product page to switch to that image? I'm trying to change the product image based on selected custom attributes for the product. I know Magento supports this functionality for configurable products, but for reasons I'm not going into here, I can't use configurable products. I have simple products with custom attributes and I want to trigger an image change when one of those options changes. Is that possible?
Actually, I found something! If you think there is a better solution, please comment or provide your own.
You can attach an event to the loading of the gallery and also to the change of the option value. When one changes, call 'seek' on the gallery.