forked from GNUsocial/gnu-social
Diogo Peralta Cordeiro
c3eda07521
Ensure the intended filetypes and mimetypes during Vips conversions (part 2) Sanitize Attachments instead of Validate (part 2) Various bug fixes
8 lines
308 B
Twig
8 lines
308 B
Twig
<div>
|
|
<figure>
|
|
<img src="{{ path('attachment_thumbnail', thumbnail_parameters) }}" alt="{{ attachment.getTitle() }}">
|
|
<figcaption><a
|
|
href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getTitle() }}</a>
|
|
</figcaption>
|
|
</figure>
|
|
</div> |