Improved gallery layout

link to gallery images
This commit is contained in:
Kevin F 2021-10-04 19:40:36 +00:00
parent b2baaf4191
commit c652308979
3 changed files with 7 additions and 3 deletions

View File

@ -1,4 +1,3 @@
IMAGE_CACHE = '/tmp/imgin-imgur-images/'
SINGLE_IMAGE_DELETE_AFTER_SECS = 60
ALBUM_DELETE_AFTER_SECS = 120
SINGLE_IMAGE_DELETE_AFTER_SECS = 600
template_dir = 'imgin/web/'

View File

@ -10,7 +10,7 @@
</head>
<body>
% for img in imgs:
<img src="{{img}}" loading="lazy">
<a href="{{img}}"><img src="{{img}}" loading="lazy"></a>
<br>
% end
<footer>

View File

@ -12,3 +12,8 @@ a, a:visited {
ul{
list-style-type: none;
}
img {
margin-bottom: 5px;
height: 100%;
}