Skip to content

Switch some images to picture tags#403

Merged
SharakPL merged 4 commits intoPrestaShop:developfrom
NeOMakinG:picture-tag-end
Dec 9, 2022
Merged

Switch some images to picture tags#403
SharakPL merged 4 commits intoPrestaShop:developfrom
NeOMakinG:picture-tag-end

Conversation

@NeOMakinG
Copy link

Questions Answers
Description? We want to use picture tags everywhere we have some images and these parts were missing
Type? improvement
BC breaks? no
Deprecations? no
How to test? Images on every part should work as expected
Possible impacts? Images display

@NeOMakinG NeOMakinG marked this pull request as draft December 7, 2022 10:59
@NeOMakinG NeOMakinG marked this pull request as ready for review December 7, 2022 13:58
@NeOMakinG NeOMakinG requested review from a team and Hlavtox December 7, 2022 13:58
Copy link
Contributor

@Hlavtox Hlavtox left a comment

Choose a reason for hiding this comment

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

Just check the legends, good otherwise!

Copy link
Contributor

@SharakPL SharakPL left a comment

Choose a reason for hiding this comment

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

Some indentations + legend @Hlavtox mentioned.
Also maybe we could limit the size of the tags eg. put type next to source:

<source type="image/avif"
  srcset="..."
>

@NeOMakinG
Copy link
Author

Thanks a lot for the review @SharakPL @Hlavtox , I'll fix that tomorrow

@Hlavtox Hlavtox requested a review from SharakPL December 9, 2022 10:19
@Hlavtox
Copy link
Contributor

Hlavtox commented Dec 9, 2022

@SharakPL Merge it when you check it ;-)

@SharakPL SharakPL merged commit 4864e86 into PrestaShop:develop Dec 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants