Loathing Fotorama – Please help

I have spent days trying to make fotorama behave like a simple dump of images instead of all the fancy stuff, and I keep failing in new and wonderful ways every day.

I do know how to gut it out completetely and load all the product images on the page instead but I have no idea how to refresh said images on a configurable product when a selection is made, i.e. from “black” to “red”. That is what fotorama does through some json, which I do not know how to even begin replicating in my simple image dump php script.

any ideas?

submitted by /u/lordofthethingybobs
[link] [comments]