[% var width = 0, height = 0; if (metadata.image) { width = metadata.image.width; height = metadata.image.height; } %]
Name
[%=name%]
[% if (width && height) { %]
Dimensions
[%=width%] x [%=height%]
[% } %]
Size
[%=size.humanize()%]
Name
[%=name%]
Size
[%=size.humanize()%]
[%= name %]
[%= name %]
[%= name %]
Attached files
[%= name %]
[% var width = 0, height = 0, ratio = 0, is_image = (file.type == 'image'); if (file.metadata && file.metadata.image) { width = file.metadata.image.width; height = file.metadata.image.height; ratio = 150 / (width > height ? width : height); } %]
[% if (is_image) { %]
[% } else { %]
[%=name%]
[% } %]
[% if (is_image && width && height){ %]
Dimensions
[%=width%] x [%=height%]
[% } %]
Size
[%=size.humanize()%]
Attached by
[%=attached_by_name%]
on [%=getAttachedDate(true)%]
Attachments
Loading...
Selected attachment info