Improved gallery layout
link to gallery images
This commit is contained in:
parent
b2baaf4191
commit
c652308979
@ -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/'
|
@ -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>
|
||||
|
@ -11,4 +11,9 @@ a, a:visited {
|
||||
|
||||
ul{
|
||||
list-style-type: none;
|
||||
}
|
||||
|
||||
img {
|
||||
margin-bottom: 5px;
|
||||
height: 100%;
|
||||
}
|
Loading…
Reference in New Issue
Block a user