You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In many cases the tailor grid is used in a responsive (not just adaptive) layout,
the images are scaled relatively to available width.
A proper sizes attribute would allow the browser to pick the right image file,
speed up page loading considerably because this can already happen during HTML parsing -
also this is the correct usage of srcset.
Ideally tailor would allow adding extra information of its outmost width so
it can calculate correct sizes attributes for the element it contains.
The text was updated successfully, but these errors were encountered:
strarsis
changed the title
Reponsive images
Reponsive images, sizes
Apr 19, 2017
@andrew-worsfold: The theme has to inform about the main content area, ideally for each viewpoint width/height. The tailor elements have to share this available space. When a tailor element got a fluid width (like 1/3 of the available space), the sizes attribute needs to become calc(<available-width> * 0.3).
Similar issue: WordPress/gutenberg#869
In many cases the tailor grid is used in a responsive (not just adaptive) layout,
the images are scaled relatively to available width.
A proper sizes attribute would allow the browser to pick the right image file,
speed up page loading considerably because this can already happen during HTML parsing -
also this is the correct usage of srcset.
Ideally tailor would allow adding extra information of its outmost width so
it can calculate correct sizes attributes for the element it contains.
The text was updated successfully, but these errors were encountered: