reeklama url
This commit is contained in:
parent
3778224020
commit
7982f1319a
|
|
@ -12,5 +12,8 @@
|
|||
{% endif %}
|
||||
class="{{ css_class }}"
|
||||
>
|
||||
<img src="{{reklama.media|media_cdn}}" alt="{{reklama.title}}">
|
||||
<picture>
|
||||
<source media="(min-width:700px)" srcset="{{reklama.media|media_cdn}}">
|
||||
<img src="{{reklama.media_mobile|media_cdn}}" alt="{{reklama.title}}" style="width:auto;">
|
||||
</picture>
|
||||
</a>
|
||||
|
|
|
|||
|
|
@ -61,6 +61,6 @@ fields:
|
|||
type: mediafinder
|
||||
media_mobile:
|
||||
label: 'Media for mobile'
|
||||
mode: file
|
||||
mode: image
|
||||
span: auto
|
||||
type: mediafinder
|
||||
|
|
|
|||
Loading…
Reference in New Issue