gnu-social/plugins/ImageEncoder/templates/imageEncoder/imageEncoderView.html.twig
2021-09-14 13:13:26 +01:00

8 lines
312 B
Twig

<figure>
<img class="u-photo" src="{{ path('attachment_thumbnail', thumbnail_parameters) }}"
alt="{{ attachment.getFilename() }}">
<figcaption><a
href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getBestTitle(note) }}</a>
</figcaption>
</figure>