From 3a86d8894d306039e8d523763420350997fafa2e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 23 Jun 2016 20:14:52 +0200 Subject: [PATCH] Show a random image from an album instead of the album image --- src/main/resources/templates/imageBrowser.html | 2 +- src/main/resources/templates/include/browseAlbums.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 7dd4c29..c49c633 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -623,7 +623,7 @@ <%ifnull album.albumImage> <% album.title|html> (<%album.sone.niceName|html>) <%else> - <% album.albumImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title> + <% album.randomImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title> <%/if> diff --git a/src/main/resources/templates/include/browseAlbums.html b/src/main/resources/templates/include/browseAlbums.html index 9aacad3..a22505f 100644 --- a/src/main/resources/templates/include/browseAlbums.html +++ b/src/main/resources/templates/include/browseAlbums.html @@ -8,7 +8,7 @@ <%ifnull album.albumImage> <% album.title|html> <%else> - <% album.albumImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title> + <% album.randomImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title> <%/if> -- 2.7.4