Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

amp-lightbox-gallery: different images for detail and thumbnail with srcset #2804

Open
machal opened this issue Aug 21, 2019 · 0 comments
Open

Comments

@machal
Copy link
Contributor

machal commented Aug 21, 2019

The amp-lightbox-gallery page: https://amp.dev/documentation/components/amp-lightbox-gallery/ is missing information for people who want different images for detail and thumbnail image:

<amp-img
    layout="fixed"
    width="135" height="90"
    lightbox
    srcset="thumb.jpg 338w,
            detail.jpg 1350w"
    sizes="135px"
</amp-img>

More information is here: ampproject/amphtml#21736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants