summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile7
-rw-r--r--examples/style.css2
2 files changed, 6 insertions, 3 deletions
diff --git a/examples/Makefile b/examples/Makefile
index 88812c1..e3befc6 100644
--- a/examples/Makefile
+++ b/examples/Makefile
@@ -49,11 +49,14 @@ style: gipfelweb/style.css
gipfelweb/style.css: $(here)style.css
cp $< $@
+# slides: web display size, capped at 6000 px on the long edge so
+# both normal photos and very wide stitched images keep a sane size
gipfelweb/slides/%.jpg: %.jpg
- convert $< -filter Lanczos -resize 20000x500\> -quality 94 $@
+ convert $< -filter Lanczos -resize 6000x6000\> -quality 90 $@
+# thumbs: gallery cards and hover popups
gipfelweb/thumbs/%.jpg: %.jpg
- convert $< -filter Point -resize 400x50\> -quality 80 $@
+ convert $< -filter Point -resize 480x480\> -quality 80 $@
gipfelweb/gipfel/%.pos: %.jpg
$(GIPFEL_CLI) export-position $< > $@
diff --git a/examples/style.css b/examples/style.css
index cd00d26..946e83f 100644
--- a/examples/style.css
+++ b/examples/style.css
@@ -150,7 +150,7 @@ ul.markers { position: absolute; inset: 0; margin: 0; padding: 0; list-style: no
background: none;
border: 2px solid var(--label-bg);
}
-.pop.thumb img { display: block; border-radius: 6px; max-width: 400px; }
+.pop.thumb img { display: block; border-radius: 6px; max-width: 480px; }
.pop.thumb .cap {
position: absolute;
left: 0; right: 0; bottom: 0;