commit 5d6b09445ae330b8d1405808d33638f62859812e
parent 56b695a538a4d468d522f05bb5128c9326ac40bc
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Fri, 20 Jun 2025 15:02:50 +0200
Solstice: add thumbnails
This limits bandwidth and speeds up page loading.
Images are still provided if users specifically request them (by
clicking on the thumbnail).
Diffstat:
6 files changed, 12 insertions(+), 4 deletions(-)
diff --git a/solstice/Makefile b/solstice/Makefile
@@ -60,7 +60,11 @@ MAN=\
$(SOLSTICE_DIR)/share/man/man5/solstice-output.5\
$(SOLSTICE_DIR)/share/man/man5/solstice-receiver.5
-IMG=solaris.jpg themis.png
+IMG=\
+ images/solaris.jpg\
+ images/themis.png\
+ thumbs/solaris.jpg\
+ thumbs/themis.jpg
HTML=\
solstice.html\
solstice-docs.html\
@@ -101,7 +105,7 @@ solstice_build.sh: ../meso-menu.sh
################################################################################
# Overview web page
################################################################################
-solstice.html: solstice.md.in themis.png solstice_build.sh Makefile
+solstice.html: solstice.md.in $(IMG) solstice_build.sh Makefile
@echo "Building $@"
@$(SHELL) solstice_build.sh overview $(SOLSTICE_VERSION) > $@
diff --git a/solstice/solaris.jpg b/solstice/images/solaris.jpg
diff --git a/solstice/themis.png b/solstice/images/themis.png
diff --git a/solstice/solstice.md.in b/solstice/solstice.md.in
@@ -28,7 +28,7 @@ it is possible to define the spectral distribution of any physical
property, including the input solar spectrum and the absorption of the
atmosphere, at any spectral resolution.
-[](solaris.jpg)
+[](images/solaris.jpg)
> A solar parabolic trough concentrator whose optical efficiency as well
> as the losses have been evaluated with solstice. The solar concentrator
@@ -56,7 +56,7 @@ In the same way, the output data can be post-processed by any script to
be transformed, compressed, sent over a network, displayed in a data
analysis tool, etc.
-[](themis.png)
+[](images/themis.png)
> Post-processed Solstice outputs displayed in
> [Paraview](https://www.paraview.orf).
diff --git a/solstice/thumbs/solaris.jpg b/solstice/thumbs/solaris.jpg
@@ -0,0 +1 @@
+#$# git-wad 0efdbeeac40f5fac90a951f1f98b83059706c44531cc328b3d9697fbeab0f531 53349
+\ No newline at end of file
diff --git a/solstice/thumbs/themis.jpg b/solstice/thumbs/themis.jpg
@@ -0,0 +1 @@
+#$# git-wad 2a66202e8a0f7599671a93eccaf8c21154f67bc7fd109d8f86172ecf3736d4a0 116850
+\ No newline at end of file