12 lines
464 B
Twig
12 lines
464 B
Twig
|
{% block gallery %}
|
||
|
<div class="image-grid">
|
||
|
{% for file in files %}
|
||
|
<div class="image-container">
|
||
|
<a href="{{ path('app_serve_file', {'filename': file.name}) }}">
|
||
|
<img draggable="false" src="{{ asset('uploads/' ~ file.user.id ~ '/' ~ file.name) }}" class=""
|
||
|
alt="{{ file.name }}">
|
||
|
</a>
|
||
|
</div>
|
||
|
{% endfor %}
|
||
|
</div>
|
||
|
{% endblock %}
|