Lege Bildfassungen an und liefere sie zwischengespeichert aus (ADR-63)
CI Feature / test (push) Successful in 6m26s
Deploy Test / test (push) Successful in 5m14s
Deploy Test / deploy (push) Successful in 31s

Vorschaubilder entstehen zusätzlich als klein (360 px) und mittel (960 px),
Website-Bilder in den Breiten 640, 1280 und 1920. Auswahl, Listen und Karten
laden die kleinen Fassungen; die Website nutzt srcset. Adressen tragen Größe und
Version und werden dauerhaft zwischengespeichert (ETag, 304). Die Website-Route
läuft ohne Sitzung und Cookies. Bestand füllt sich über die Warteschlange oder
mit media:varianten. Die Optionsliste des CMS fragt nicht mehr je Eintrag ab.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Sonnet 5.5 committed 2026-11-28 09:37:00 +01:00
1 parent 0492133201
commit 63b42b366c
54 files changed
+1033 -82

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@
])>
@if ($item['imageUrl'])
<div class="card-media">
<img class="card-image" src="{{ $item['imageUrl'] }}" alt="" loading="lazy" decoding="async">
<img class="card-image" src="{{ $item['imageUrl'] }}" @if (! empty($item['imageSrcset'])) srcset="{{ $item['imageSrcset'] }}" sizes="(min-width: 900px) 40vw, 100vw" @endif alt="" loading="lazy" decoding="async">
</div>
@endif
<div class="card-body">
+1 -1
View File
@@ -21,7 +21,7 @@
style="--lf-hero-focus-x: {{ $focus['x'] }}%; --lf-hero-focus-y: {{ $focus['y'] }}%"
@if ($videoUrl !== null) data-hero-video data-clip-src="{{ $videoUrl }}" data-clip-title="{{ $videoTitle }}" @endif>
@if ($layout === 'photo-split' && $imageUrl)
<img class="lf-hero__photo" src="{{ $imageUrl }}" alt="{{ $imageAlt ?? '' }}" {!! $loading !!} decoding="async">
<img class="lf-hero__photo" src="{{ $imageUrl }}" @if (! empty($imageSrcset)) srcset="{{ $imageSrcset }}" sizes="100vw"@endif alt="{{ $imageAlt ?? '' }}" {!! $loading !!} decoding="async">
@endif
@if ($videoUrl !== null)
<video class="lf-hero__video" muted loop playsinline preload="none" disablepictureinpicture disableremoteplayback tabindex="-1" aria-hidden="true"></video>
+1 -1
View File
@@ -56,7 +56,7 @@
@endif
@if ($imageUrl)
<div class="lf-bt__media" @if ($clipUrl !== null) data-card-clip data-clip-src="{{ $clipUrl }}" data-clip-title="{{ $clipTitle }}" @endif>
<img class="lf-bt__image" src="{{ $imageUrl }}" alt="{{ $imageAlt ?? '' }}" @if (! empty($first)) loading="eager" fetchpriority="high" @else loading="lazy" @endif decoding="async">
<img class="lf-bt__image" src="{{ $imageUrl }}" @if (! empty($imageSrcset)) srcset="{{ $imageSrcset }}" sizes="100vw" @endif alt="{{ $imageAlt ?? '' }}" @if (! empty($first)) loading="eager" fetchpriority="high" @else loading="lazy" @endif decoding="async">
@include('widgets.partials.card-clip')
</div>
@endif
@@ -52,7 +52,7 @@
]) style="--pc-focus-x: {{ $focus['x'] }}%; --pc-focus-y: {{ $focus['y'] }}%">
@if ($imageUrl !== null || $libraryImage !== null)
<div class="lf-pc__visual" @if ($clipUrl !== null) data-card-clip data-clip-src="{{ $clipUrl }}" data-clip-title="{{ $clipTitle }}" @endif>
<img class="lf-pc__image" src="{{ $imageUrl ?? $libraryImage }}" alt="{{ $imageUrl !== null ? $alt : '' }}" loading="lazy" decoding="async">
<img class="lf-pc__image" src="{{ $imageUrl ?? $libraryImage }}" @if ($imageUrl !== null && ! empty($imageSrcset)) srcset="{{ $imageSrcset }}" sizes="(min-width: 900px) 50vw, 100vw" @endif alt="{{ $imageUrl !== null ? $alt : '' }}" loading="lazy" decoding="async">
@include('widgets.partials.card-clip')
@if ($show['kind'] && $subject->badge !== null && empty($bare))
<span class="lf-pc__badge">{{ $subject->badge }}</span>