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

feat(gallery): Using picture - FRONT-3876 #2820

Merged
merged 4 commits into from
Apr 3, 2023

Conversation

planctus
Copy link
Contributor

@planctus planctus commented Mar 31, 2023

Use picture tag for image gallery and overlay

@github-actions
Copy link

github-actions bot commented Mar 31, 2023

Copy link
Contributor

@emeryro emeryro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few remarks:

  • the documentation in gallery.html.twig should be updated (item structure)
  • the gallery overlay is still using single img. Shouldn't we use the picture here too?

class="ecl-gallery__item-link"
data-ecl-gallery-item=""
data-ecl-gallery-item-share="/share#example-image2.jpg"
href="https://inno-ecl.s3.amazonaws.com/media/examples/example-image2.jpg"
href=""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think that this href has been emptied on purpose

@emeryro emeryro merged commit 63433d9 into v3.8.0-dev Apr 3, 2023
@emeryro emeryro deleted the FRONT-3876-Picture-in-gallery branch April 3, 2023 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants