mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-01-04 18:05:36 +10:00
gallerydl template
This commit is contained in:
28
archivebox/plugins/gallerydl/templates/fullscreen.html
Normal file
28
archivebox/plugins/gallerydl/templates/fullscreen.html
Normal file
@@ -0,0 +1,28 @@
|
||||
<!-- Fullscreen gallery view - shows image in full size -->
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Gallery</title>
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: #000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 100vh;
|
||||
}
|
||||
img {
|
||||
max-width: 100%;
|
||||
max-height: 100vh;
|
||||
object-fit: contain;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<img src="{{ output_path }}" alt="Gallery image">
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user