From: David ‘Bombe’ Roden Date: Sun, 10 Apr 2011 18:16:40 +0000 (+0200) Subject: Display images in image browser. X-Git-Tag: beta-freefall-0.6.2-1~45 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=b05cc6e6e123a9cf6988e318435ba3b0a62fbb59;p=Sone.git Display images in image browser. --- diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 72fd340..ea6fdec 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -61,11 +61,7 @@ <%foreach album.images image>
- <%ifnull image.key> - <% image.title|html> - <%else> - <% image.title|html> - <%/if> + <% image|image-link max-width=200 max-height=150>
<%/foreach> @@ -83,6 +79,18 @@ <%elseif imageRequested> + <%ifnull image> + + <%else> + +
+ + <% image|image-link max-width=200 max-height=150> + +
+ + <%/if> + <%elseif soneRequested> <%ifnull sone>