X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=ea6fdec2689401321e4be07335f038a2044d4a27;hp=72fd3406a9d7aa1f84687c921cbf7b271bfa45f3;hb=b05cc6e6e123a9cf6988e318435ba3b0a62fbb59;hpb=456a0d35f3afcdaf4c2f82048f8cb440059f70e7 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>