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/' IMAGE_CACHE = '/tmp/imgin-imgur-images/'
SINGLE_IMAGE_DELETE_AFTER_SECS = 60 SINGLE_IMAGE_DELETE_AFTER_SECS = 600
ALBUM_DELETE_AFTER_SECS = 120
template_dir = 'imgin/web/' template_dir = 'imgin/web/'

View File

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

View File

@ -11,4 +11,9 @@ a, a:visited {
ul{ ul{
list-style-type: none; list-style-type: none;
}
img {
margin-bottom: 5px;
height: 100%;
} }