diff --git a/Components/BlockImage/index.twig b/Components/BlockImage/index.twig index 7af2dc2b..9cd1ae4a 100644 --- a/Components/BlockImage/index.twig +++ b/Components/BlockImage/index.twig @@ -3,10 +3,10 @@ {{ image.alt }} diff --git a/Components/BlockMediaText/Partials/Image/index.twig b/Components/BlockMediaText/Partials/Image/index.twig index c71b320c..91ebb87a 100644 --- a/Components/BlockMediaText/Partials/Image/index.twig +++ b/Components/BlockMediaText/Partials/Image/index.twig @@ -1,6 +1,6 @@ {{ image.alt }} diff --git a/Components/BlockMediaText/Partials/OembedVideo/index.twig b/Components/BlockMediaText/Partials/OembedVideo/index.twig index 4157b97f..d81d452a 100644 --- a/Components/BlockMediaText/Partials/OembedVideo/index.twig +++ b/Components/BlockMediaText/Partials/OembedVideo/index.twig @@ -1,10 +1,10 @@
{{ posterImage.alt }}
diff --git a/Components/BlockVideoOembed/Partials/OembedVideo/index.twig b/Components/BlockVideoOembed/Partials/OembedVideo/index.twig index ad4f8253..016b3e98 100644 --- a/Components/BlockVideoOembed/Partials/OembedVideo/index.twig +++ b/Components/BlockVideoOembed/Partials/OembedVideo/index.twig @@ -3,9 +3,9 @@ {{ posterImage.alt }}
diff --git a/Components/SliderMedia/Partials/Image/index.twig b/Components/SliderMedia/Partials/Image/index.twig index 19311ea6..a42a24b2 100644 --- a/Components/SliderMedia/Partials/Image/index.twig +++ b/Components/SliderMedia/Partials/Image/index.twig @@ -1,7 +1,7 @@ + {{ mediaSlide.image.src | resize(400, 225) }} 400w, + {{ mediaSlide.image.src | resize(800, 450) }} 800w, + {{ mediaSlide.image.src | resize(1110, 624) }} 1110w, + {{ mediaSlide.image.src | resize(1600, 900) }} 1600w" + src="{{ mediaSlide.image.src | resize(1110, 624) }}" + sizes="(min-width: 1140px) 1110px, calc(100vw - 30px)"> diff --git a/Components/SliderMedia/Partials/OembedVideo/index.twig b/Components/SliderMedia/Partials/OembedVideo/index.twig index 21920221..4c05c8f4 100644 --- a/Components/SliderMedia/Partials/OembedVideo/index.twig +++ b/Components/SliderMedia/Partials/OembedVideo/index.twig @@ -3,11 +3,11 @@ {{ posterImage.alt }} + src="{{ posterImage.src | resize(1110, 624) }}" + sizes="(min-width: 1140px) 1110px, calc(100vw - 30px)" + alt="{{ posterImage.alt }}">
{{ oembedLazyLoad }}