mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-12-28 06:34:15 +00:00
gallerydl template
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Deploy static content to Pages / deploy (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Build Debian package / build (push) Waiting to run
Deploy static content to Pages / deploy (push) Waiting to run
Build Homebrew package / build (push) Waiting to run
Build GitHub Pages website / build (push) Waiting to run
Build GitHub Pages website / deploy (push) Blocked by required conditions
Run linters / lint (push) Waiting to run
Build Pip package / build (push) Waiting to run
Run tests / python_tests (ubuntu-22.04, 3.11) (push) Waiting to run
Run tests / docker_tests (push) Waiting to run
This commit is contained in:
parent
4fd7fcdbcf
commit
0fbcbd2616
11
archivebox/plugins/gallerydl/templates/embed.html
Normal file
11
archivebox/plugins/gallerydl/templates/embed.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Embedded gallery view - shows first image with link to full gallery -->
|
||||
<div class="extractor-embed gallerydl-embed" style="width: 100%; max-width: 800px; margin: 0 auto; background: #1a1a1a; padding: 20px;">
|
||||
<img src="{{ output_path }}"
|
||||
style="width: 100%; max-height: 600px; object-fit: contain;"
|
||||
alt="Gallery image"
|
||||
onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
|
||||
<div style="display: none; flex-direction: column; align-items: center; color: #888; padding: 40px;">
|
||||
<span style="font-size: 64px;">🖼️</span>
|
||||
<span style="margin-top: 10px;">Gallery downloaded</span>
|
||||
</div>
|
||||
</div>
|
||||
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>
|
||||
1
archivebox/plugins/gallerydl/templates/icon.html
Normal file
1
archivebox/plugins/gallerydl/templates/icon.html
Normal file
@ -0,0 +1 @@
|
||||
🖼️
|
||||
11
archivebox/plugins/gallerydl/templates/thumbnail.html
Normal file
11
archivebox/plugins/gallerydl/templates/thumbnail.html
Normal file
@ -0,0 +1,11 @@
|
||||
<!-- Gallery thumbnail - shows first image or placeholder -->
|
||||
<div class="extractor-thumbnail gallerydl-thumbnail" style="width: 100%; height: 100px; overflow: hidden; background: #1a1a1a; display: flex; align-items: center; justify-content: center;">
|
||||
<img src="{{ output_path }}"
|
||||
style="width: 100%; height: 100px; object-fit: contain;"
|
||||
alt="Gallery thumbnail"
|
||||
onerror="this.style.display='none'; this.nextElementSibling.style.display='flex';">
|
||||
<div style="display: none; flex-direction: column; align-items: center; color: #888; font-size: 12px;">
|
||||
<span style="font-size: 32px;">🖼️</span>
|
||||
<span>Gallery</span>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user