{% extends "base.html" %} {% block copyright %} {% endblock %} {% block title %}{{ src }}{% endblock %} {% block extra_head %} {% include "canvas_view_js.html" %} {% if settings.DEBUG %} {% else %} {% endif%} {% if geo_info %} {% endif %} {% endblock %} {% set disabled_attrs='class="disabled" title="You do not have permission to use this function"'|safe %} {% block body %} {% if file_info and db_info and db_info.status == STATUS_ACTIVE %}
{% else %}
No image to display
{% endif %}

Image details (back to image folder)

{% if err_msg %}
{{ err_msg|newlines }}
{% else %} {% if db_info and db_info.status == STATUS_ACTIVE %}
    {% if is_folder_permitted(db_info.folder, FolderPermission.ACCESS_DOWNLOAD) %}
  • Download original
  • Publish image
  • {% else %}
  • Download original
  • Publish image
  • {% endif %}
  •  
  • {% if is_folder_permitted(db_info.folder, FolderPermission.ACCESS_UPLOAD) %}
  • Reset
  • Rename file
  • {% else %}
  • Reset
  • Rename file
  • {% endif %} {% if is_folder_permitted(db_info.folder, FolderPermission.ACCESS_DELETE) %}
  • Move file
  •  
  • Delete file
  • {% else %}
  • Move file
  •  
  • Delete file
  • {% endif %}
{% endif %}

File

{% if not file_info %} {% if not db_info %} {% else %} {% endif %} {% else %} {% if image_info %} {% endif %} {% endif %}
This file does not exist.
This file no longer exists.
File path{{ file_info.path }}
File size{{ file_info.size|filesizeformat }}
File date{{ file_info.modified|datetimeformat(True) }} {{ timezone }}
Image width{{ image_info.width }}
Image height{{ image_info.height }}
{% endif %}

Attributes {% if db_info and db_info.status == STATUS_ACTIVE %} {% if is_folder_permitted(db_info.folder, FolderPermission.ACCESS_EDIT) %} (change) {% else %} (change) {% endif %} {% endif %}

{% if not db_info %} {% else %} {% endif %}
None
Title{{ db_info.title|default('-', True) }}
Description{{ db_info.description|default('-', True) }}

Statistics {% if db_stats %} {% if is_permitted(SystemPermission.PERMIT_REPORTS) %} (chart) {% else %} (chart) {% endif %} {% endif %}

{% if not db_stats %} {% else %} {% endif %}
No statistics are available.
Requests in 24 hours {{ db_stats.day.requests }}
Images served in 24 hours {{ db_stats.day.views + db_stats.day.downloads }}
Bandwidth in 24 hours {{ db_stats.day.bytes|filesizeformat }}
Requests in last 30 days {{ db_stats.month.requests }}
Images served in last 30 days {{ db_stats.month.views + db_stats.month.downloads }}
Bandwidth in last 30 days {{ db_stats.month.bytes|filesizeformat }}
{% if db_stats %}
Statistics are updated once a minute
{% endif %}
{% if db_info and db_stats %}
{% endif %} {% if image_info %} {% for profile in image_info %} {% if profile not in ['width', 'height'] %}

{{ profile }}

{% for tags in image_info.get(profile) %} {% endfor %}
{{ tags.0|decamelcase }} {{ tags.1|truncate(140) }}
{% endif %} {% endfor %} {% endif %} {% if geo_info %}

Location

{% endif %}

Change history

{% if not db_history %} {% else %} {% for history in db_history %} {% endfor %} {% endif %}
No history is available.
{% if history.action == ACTION_DELETED %} Deleted {% elif history.action == ACTION_CREATED %} {% if history.user %} Uploaded {% else %} Created {% endif %} {% elif history.action == ACTION_REPLACED %} Replaced {% elif history.action == ACTION_EDITED %} Edited {% elif history.action == ACTION_MOVED %} Moved {% else %} Action {{ history.action }} {% endif %} by {% if history.user %} {{ history.user }} {% else %} System {% endif %} {{ history.action_info }} {% if loop.index0 == 0 %}{{ timezone }}
{% endif %} {{ history.action_time|datetimeformat(True) }}
{% if db_info %} {% endif %} {% endblock %}