new Header
This commit is contained in:
parent
f2be8e54b4
commit
645ea5da7d
19 changed files with 2856 additions and 323 deletions
|
|
@ -5,7 +5,7 @@
|
|||
{% set image_url = 'uploads/travel_program/' ~ page.travelProgram.previewImage.fileNameWithExtension %}
|
||||
{% set image_alt = page.title %}
|
||||
{% elseif page.fewoLodging is not empty and page.fewoLodging.images is not empty and page.fewoLodging.images[0] is not empty %}
|
||||
{% set image_url = 'uploads/images/' ~ page.fewoLodging.images[0].file %}
|
||||
{% set image_url = '_uploads/images/' ~ page.fewoLodging.images[0].file %}
|
||||
{% set image_alt = page.title %}
|
||||
{% else %}
|
||||
{% set image_url = asset('/bundles/app/images/no-picture.png')%}
|
||||
|
|
@ -13,5 +13,5 @@
|
|||
{% endif %}
|
||||
<div class="img-background lozad" data-background-image="{{ image(image_url|trim('/')).cropResize(360).guess(70) }}" style="background-image:url({{ asset('images/placeholder-image.png') }})"></div>
|
||||
<noscript>
|
||||
<img width="234" height="180" src="{{ image(image_url|trim('/')).cropResize(360).guess(70) }}" class="img-responsiv img-responsiv-item" style="">
|
||||
<img width="234" data-url="{{ image_url }}" height="180" src="{{ image(image_url|trim('/')).cropResize(360).guess(70) }}" class="img-responsiv img-responsiv-item" style="">
|
||||
</noscript>
|
||||
Loading…
Add table
Add a link
Reference in a new issue