fix settings.IMAGE_COUNT back to 50, and fix image.html to link to the raw image, not itself
authorterom
Fri, 21 Dec 2007 22:14:01 +0000
changeset 16 980825f2aeed
parent 15 0fe851a29bc6
child 17 adde6ad8731e
fix settings.IMAGE_COUNT back to 50, and fix image.html to link to the raw image, not itself
lib/settings.py
templates/image.html
--- a/lib/settings.py	Fri Dec 21 21:19:01 2007 +0000
+++ b/lib/settings.py	Fri Dec 21 22:14:01 2007 +0000
@@ -13,7 +13,7 @@
 DEFAULT_TITLE = 'Image gallery'
 
 # how many image/page
-IMAGE_COUNT = 10
+IMAGE_COUNT = 50
 
 VERSION = "0.5"
 ROOT_IGNORE = ('lib', 'templates')
--- a/templates/image.html	Fri Dec 21 21:19:01 2007 +0000
+++ b/templates/image.html	Fri Dec 21 22:14:01 2007 +0000
@@ -7,7 +7,7 @@
             ${h.tag_for_img(prev.html_name, prev.thumb_name)}
 % endif
             
-            ${h.tag_for_img(img.html_name, img.preview_name)}
+            ${h.tag_for_img(img.name, img.preview_name)}
             
 % if next :            
             ${h.tag_for_img(next.html_name, next.thumb_name)}