We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d19643 commit 11d6200Copy full SHA for 11d6200
Resources/views/Form/form_js.html.twig
@@ -126,7 +126,7 @@
126
{% else %}
127
"url": "{{ image_asset(item, 'file') }}",
128
{% endif %}
129
- {% if item.preview and previewFilter and item.size < loadImageMaxFileSize and image_asset(item, 'file') is not empty %}
+ {% if item.preview and previewFilter and item.size < loadImageMaxFileSize %}
130
"thumbnail_url": "{{ image_asset(item, 'file')|image_filter(previewFilter) }}",
131
{% elseif item.preview and item.size < loadImageMaxFileSize %}
132
"thumbnail_url": "{{ image_asset(item, 'file') }}",
0 commit comments