Skip to content

Commit 7a459e6

Browse files
author
Leny BERNARD
committed
surround "image.url" with asset
1 parent 0a47429 commit 7a459e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{% if widget.lazyLoad == true and not app.request.isXmlHttpRequest() %}
22
src="/bundles/victoirewidgetimage/images/placeholder.png"
3-
data-src="{{ image.url }}"
3+
data-src="{{ asset(image.url) }}"
44
{% else %}
5-
src="{{ image.url }}"
5+
src="{{ asset(image.url) }}"
66
{% endif %}
77
{{ (alt) ? ('alt=' ~ alt|e('html_attr'))|raw : '' }}
88
id="{{ 'vic-image-' ~ widget.id }}"

0 commit comments

Comments
 (0)