diff --git a/templates/imgbin/view.html.ep b/templates/imgbin/view.html.ep
index 982b39d..33ce581 100644
--- a/templates/imgbin/view.html.ep
+++ b/templates/imgbin/view.html.ep
@@ -4,16 +4,12 @@
+ <%= link_to l('Upload') => "/imgbin", class => 'zerobin upload' %>
% if (config->{imgbin}->{show_latest}) {
-
- <%= link_to l('Latest images') => "/imgbin/latest" %>
-
+ <%= link_to l('Latest images') => "/imgbin/latest", class => 'zerobin latest' %>
% }
-
- <%= link_to l('Upload more') => "/imgbin" %>
-
-
+
% my $image = (stash 'image') || {};
% my $style = sprintf "max-width: %dpx;", $config->{imgbin}->{css_maxwidth};
@@ -23,9 +19,9 @@
-% foreach my $key (qw(width height size name comment)) {
-% next unless $image->{$key};
- <%= tag td => l(ucfirst($key)) %> : | <%= tag td => $image->{$key} %>
-% }
+ <%= l('Dimensions') %> | : | <%= "$image->{width}x$image->{height}" %> |
+ <%= l('Size') %> | : | <%= sprintf("%.1f kb", $image->{size} / 1024) %> |
+ <%= l('Name') %> | : | <%= $image->{name} // '-' %> |
+ <%= l('Comment') %> | : | <%= $image->{comment} // '-' %> |