pdnew/themes/default/templates/renderable/image.html

28 lines
786 B
HTML
Raw Permalink Normal View History

{% extends 'default/templates/renderable/upload.html' %}
2024-10-22 15:02:22 +00:00
{% block fileview %}
<a href="#modal-image-{{ content.name }}">
<div class="preview">
<img
src="{{ content.url('raw') }}"
{% if content.description %}
alt="{{ content.description }}"
title="{{ content.description }}"
{% endif %}
/>
</div>
</a>
<div id="modal-image-{{ content.name }}" class="modal">
<a href="#__close"></a>
<div class="content">
<img
src="{{ content.url('raw') }}"
{% if content.description %}
alt="{{ content.description }}"
title="{{ content.description }}"
{% endif %}
/>
</div>
</div>
{% endblock %}