{% if uuid is not empty %} {% set image = createModel('Image','image').findById(uuid) %} {% endif %} {% component 'semantic~panel' %}
{{ labels.id }}
{{ image.id }}
{{ image.uuid }}
{{ labels.status }} {{ component('semantic~status.label',{ status: image.status }) }}
{{ labels.type }} {{ image.mime_type }}
{{ labels.size }} {% if image.width is empty and image.height is empty %} N/A {% else %} {{ image.width }} x {{ image.height }} {% endif %}
{{ labels.file_size }} {{ image.file_size|fileSize }}
{{ labels.owner }} {{ image.user.user_name_or_email }}
{{ labels.src }} {{ url(image.src) }}
{% endcomponent %}