Nextcloud-Integration: Dynamische Galerie + Auto-Thumbnails

- Galerie laedt Bilder dynamisch per JavaScript statt Jekyll-Loop
- nginx autoindex liefert JSON-Bilderliste
- Nextcloud-Ordner (Websitebilder) wird als Volume gemountet
- ImageMagick generiert automatisch 512px Thumbnails
- Hintergrund-Check alle 60s fuer neue Bilder
- Neuer entrypoint.sh fuer Thumbnail-Generierung + nginx Start

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Kroonk
2026-04-12 14:03:43 +02:00
parent c885d22346
commit ab6b2bb8fe
7 changed files with 217 additions and 141 deletions

View File

@@ -17,17 +17,7 @@ layout: default
<!-- Main -->
<div id="main" data-exif='{{ site.exif }}'>
{% for image in site.static_files %}
{% if image.path contains 'fulls' %}
<article class="thumb">
<a href="{{ site.baseurl }}{{ site.image_fulls_loc }}/{{ image.name }}" class="image">
<img src="{{ site.baseurl }}{{ site.image_thumbs_loc }}/{{ image.name }}" alt=""
data-name="{{ image.name }}"/></a>
<!--<h2></h2>
<p></p>-->
</article>
{% endif %}
{% endfor %}
<!-- Galerie wird dynamisch per JavaScript geladen -->
</div>
<!-- Footer -->