Top Table List and image sizes #94
Unanswered
richardroyal
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
We use the Arc Themes Block Top Table List. Sometimes we put one in a section that has a maximum width like with our Right Right. On all breakpoints, it never gets displayed at greater than 300px.
I see that TTL uses Image from arc-themes-components which accepts a
sizesparameter but it doesn't appear that TTL passes anything in for that. How can I use TTL but ensure the browser doesn't load images too big for the display?https://github.com/WPMedia/arc-themes-components/blob/arc-themes-release-version-4.1.0/src/components/image/index.jsx#L23
https://github.com/WPMedia/arc-themes-blocks/blob/375c6f26245b7a55c311882b517c8dc6bb0f8b1d/blocks/top-table-list-block/features/top-table-list/_children/small.jsx
https://web.dev/learn/design/responsive-images#sizes
All reactions