Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Component for image attached to thumbnail carousel (amp-image-picker-carousel) #4500
You see this pattern all over the web, particularly on e-commerce sites:
This requests adding such a component to AMP. At a high-level, it can be composed by taking amp-img and amp-carousel and combining them in a way to pass messages between them. In lieu of creating such an inter-component message passing protocol, we need to create a new component.
This needs a fuller design, but in the interest of capturing some basic behaviors, here's a list of initially brainstormed features:
Notes: Consider making the component more generic by not restricting to amp-img, as described above. The primary object could be anything, provided the space is declared in advance. The thumbnails should still likely be images, but could be anything that would also fit into a pre-declared and contained space.