v1.64
Apps can switch the product gallery's photo
New for app developers
ctx.setActiveMedia(index). A theme app block in a product section with a gallery can show a given gallery frame, the way the gallery's own arrows do. A customizer uses it to jump back to the design photo when the shopper changes an option while looking at another photo. See Product media blocks.