{% extends "file_detail.html" %} {% load static %} {% load django_bootstrap5 %} {% load pictures %} {% load humanize %} {% block title %}File details{% endblock title %} {% block extra_head %} {% endblock extra_head %} {% block file_detail %}

{{ file.filetype|capfirst }} {{ file.title }} Thumbnails

{% for ratio, filetypes in file.get_thumbnails.items %} {% for filetype, sizes in filetypes.items %} {% for width, thumbnail in sizes.items %} {% endfor %} {% endfor %} {% endfor %}
Aspect Ratio File Type 400 300 200 150 100 50
{{ ratio|default:"Original" }} {{ filetype }}
{{ thumbnail.width }}*{{ thumbnail.height }} ({{ thumbnail.file_size|intcomma }} bytes)
{% endblock file_detail %}