imageEncoderView.html.twig 468 B

123456789101112131415
  1. <figure>
  2. <img class="u-photo"
  3. alt="{{ title }}"
  4. src="{{ attachment.getThumbnailUrl(note) }}"
  5. width="{{ thumbnail.getWidth() }}"
  6. height="{{ thumbnail.getHeight() }}">
  7. <figcaption>
  8. {% if attachment.getFilename() is not null %}
  9. <a href="{{ attachment.getShowUrl(note) }}">{{ title }}</a>
  10. {% else %}
  11. {{ title }}
  12. {% endif %}
  13. </figcaption>
  14. </figure>