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/'
|
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/'
|
@ -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>
|
||||||
|
@ -12,3 +12,8 @@ a, a:visited {
|
|||||||
ul{
|
ul{
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img {
|
||||||
|
margin-bottom: 5px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user