toodego: force tile pictures to be jpeg (#74654)
This commit is contained in:
parent
5c09ef9209
commit
d3c54a6c7b
|
@ -3,7 +3,7 @@
|
|||
{% with producer_logo="logo:"|add:producer.slug picture="wcs:form:picture:"|add:cell.formdef_reference logo="wcs:form:logo:"|add:cell.formdef_reference %}
|
||||
<a href="{{url}}" class="tile-link">
|
||||
<div class="tile {{producer.slug}}">
|
||||
<div class="tile-picture" style="background-image: {% asset_css_url picture size="300x300" crop="center" %}"></div>
|
||||
<div class="tile-picture" style="background-image: {% asset_css_url picture size="300x300" crop="center" format="JPEG" %}"></div>
|
||||
<div class="tile-head">
|
||||
<div class="tile-title">
|
||||
<h2>{{title}}</h2>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{% with logo="logo:"|add:producer.slug picture="picture:"|add:producer.slug %}
|
||||
<a href="{{url}}" class="tile-link">
|
||||
<div class="tile {{producer.slug}}">
|
||||
<div class="tile-picture" style="background-image: {% asset_css_url cell.link_page.picture picture size="300x300" crop="center" %}"></div>
|
||||
<div class="tile-picture" style="background-image: {% asset_css_url cell.link_page.picture picture size="300x300" crop="center" format="JPEG" %}"></div>
|
||||
<div class="tile-head">
|
||||
<div class="tile-title">
|
||||
<h2>{{title}}</h2>
|
||||
|
|
Loading…
Reference in New Issue