From 058201f926e7c161415797722a1846f7f3436c38 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 17 Oct 2012 18:42:27 -0400 Subject: [PATCH] gallery.py: add caption title/alt to images. --- posts/gallery/gallery.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/posts/gallery/gallery.py b/posts/gallery/gallery.py index 8c7da07..ecdd85f 100755 --- a/posts/gallery/gallery.py +++ b/posts/gallery/gallery.py @@ -465,7 +465,17 @@ class CGIGalleryServer (object): image_path,image_url = self._thumb(image, **kwargs) else: image_url = image - return ''.format(image_url) + sections = ['') + return ' '.join(sections) def _image_page(self, image): return image_base(image) + '/' -- 2.26.2