Filename: {{ image['file_name'] }}
Image ID: {{ image['id'] }}
Author: {{ image['author_id'] }}
-Upload date: {{ image['created_at'] }}
+Upload date: {{ image['created_at'] }}
Dimensions: {{ file['width'] }}x{{ file['height'] }}
File size: {{ size }}
@@ -155,8 +155,8 @@ addNotification("Failed to copy link! Are you on HTTP?", 2); } }); - $('#img-info').click(function() { - + $('#img-download').click(function() { + addNotification("Download started!", 4); }); {% if g.user['id'] == image['author_id'] %} diff --git a/gallery/templates/index.html b/gallery/templates/index.html index 97da671..b8de948 100644 --- a/gallery/templates/index.html +++ b/gallery/templates/index.html @@ -9,14 +9,13 @@{{ image['id'] }}
-