In the Blue Square, I use the main image, (this is easy to solve)
In the red rectangle, there should be direct logic to implement this widget dynamically. Carousel.
I looked in several places for information on how to implement this, and I only found it in a systemic way, positioning it page by page.
In my case, where I have products with more than 10 detail photos, this is unfeasible.
Does anyone know how this can be resolved?