2021-07-30 01:29:25 +09:00
|
|
|
<figure>
|
2021-08-18 22:04:17 +09:00
|
|
|
<img class="u-photo"
|
|
|
|
alt="{{ attachment.getBestTitle(note) }}"
|
2021-09-25 21:12:32 +09:00
|
|
|
src="{{ attachment.getThumbnailUrl() }}"
|
|
|
|
width="{{ thumbnail.getWidth() }}"
|
|
|
|
height="{{ thumbnail.getHeight() }}">
|
2021-12-03 11:22:50 +09:00
|
|
|
<figcaption>
|
|
|
|
{% if attachment.getFilename() is not null %}
|
|
|
|
<a href="{{ path('attachment_show', {'id': attachment.getId()}) }}">{{ attachment.getBestTitle(note) }}</a>
|
|
|
|
{% else %}
|
|
|
|
{{ attachment.getBestTitle(note) }}
|
|
|
|
{% endif %}
|
|
|
|
</figcaption>
|
2021-07-30 01:29:25 +09:00
|
|
|
</figure>
|