Use larger preview images.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 19:20:32 +0000 (21:20 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 19:20:32 +0000 (21:20 +0200)
src/main/resources/static/css/sone.css
src/main/resources/templates/imageBrowser.html

index e67ed2f..8c30aa8 100644 (file)
@@ -657,8 +657,8 @@ textarea {
 }
 
 #sone .image-container {
-       width: 200px;
-       height: 200px;
+       width: 250px;
+       height: 250px;
        overflow: hidden;
        padding: -1px;
        border: solid 1px #000;
index 987b97a..a4fef79 100644 (file)
                                        <div class="image-container">
                                                <a href="imageBrowser.html?album=<% album.id|html>" title="<% album.title|html>">
                                                        <%ifnull album.albumImage>
-                                                               <img src="images/unknown-image-0.png" width="266" height="200" alt="<% album.title|html>" title="<% album.title|html>" style="position: relative; top: 0px; left: -33px;" />
+                                                               <img src="images/unknown-image-0.png" width="333" height="250" alt="<% album.title|html>" title="<% album.title|html>" style="position: relative; top: 0px; left: -41px;" />
                                                        <%else><!-- TODO -->
-                                                               <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title>
+                                                               <% album.albumImage|image-link max-width=250 max-height=250 mode=enlarge title==album.title>
                                                        <%/if>
                                                </a>
                                        </div>
                                <div id="image-<% image.id|html>" class="image">
                                        <div class="image-id hidden"><% image.id|html></div>
                                        <div class="image-container">
-                                               <a href="imageBrowser.html?image=<%image.id|html>"><% image|image-link max-width=200 max-height=200 mode=enlarge title==image.title></a>
+                                               <a href="imageBrowser.html?image=<%image.id|html>"><% image|image-link max-width=250 max-height=250 mode=enlarge title==image.title></a>
                                        </div>
                                        <div class="show-data">
                                                <div class="image-title"><% image.title|html></div>
                                        <div class="image-container">
                                                <a href="imageBrowser.html?album=<% album.id|html>" title="<% album.title|html>">
                                                        <%ifnull album.albumImage>
-                                                               <img src="images/unknown-image-0.png" width="266" height="200" alt="<% album.title|html>" title="<% album.title|html>" style="position: relative; top: 0px; left: -33px;"/>
+                                                               <img src="images/unknown-image-0.png" width="333" height="250" alt="<% album.title|html>" title="<% album.title|html>" style="position: relative; top: 0px; left: -41px;"/>
                                                        <%else><!-- TODO -->
-                                                               <% album.albumImage|image-link max-width=200 max-height=200 mode=enlarge title==album.title>
+                                                               <% album.albumImage|image-link max-width=250 max-height=250 mode=enlarge title==album.title>
                                                        <%/if>
                                                </a>
                                        </div>