Adjust teaser image dimensions to improve quality
This commit is contained in:
@@ -110,12 +110,9 @@
|
|||||||
<f:section name="PictureTag">
|
<f:section name="PictureTag">
|
||||||
<f:if condition="{image}">
|
<f:if condition="{image}">
|
||||||
<picture class="searchresult-item__image">
|
<picture class="searchresult-item__image">
|
||||||
<source media="(max-width: 768px)" data-srcset="{f:uri.image(image: image, width: '220', height: '130c-100')} 220w"/>
|
|
||||||
<source media="(max-width: 1200px)" data-srcset="{f:uri.image(image: image, width: '280', height: '220c-100')} 280w"/>
|
|
||||||
<source media="(min-width: 1201px)" data-srcset="{f:uri.image(image: image, width: '260', height: '200c-100')} 260w"/>
|
|
||||||
<img class="scale lazyload" title="{image.title}" alt="{image.alternative}"
|
<img class="scale lazyload" title="{image.title}" alt="{image.alternative}"
|
||||||
src="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/lazy.png', width: '260', height: '200')}"
|
src="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/lazy.png', width: '640')}"
|
||||||
data-src="{f:uri.image(image: image, width: '260', height: '200c-100')}"
|
data-src="{f:uri.image(image: image, width: '640')}"
|
||||||
>
|
>
|
||||||
</picture>
|
</picture>
|
||||||
</f:if>
|
</f:if>
|
||||||
|
|||||||
Reference in New Issue
Block a user