From 03dc3201ebfc841ad49241faba4097e77940fc0e Mon Sep 17 00:00:00 2001 From: Lester Caine Date: Sun, 24 May 2026 21:31:39 +0100 Subject: Skip thumbnailless items in galleriffic to prevent broken display Items without a thumbnail (e.g. videos when ffmpeg is unavailable) are excluded from the slideshow list rather than producing empty src/href attributes that break galleriffic's JS. Once thumbnails are generated they appear automatically. Co-Authored-By: Claude Sonnet 4.6 --- gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl | 2 ++ gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl b/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl index d4fcf85..9216c3a 100755 --- a/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl +++ b/gallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl @@ -19,6 +19,7 @@
    {foreach from=$gContent->mItems item=galItem} + {if !is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage') || $galItem->mInfo.thumbnail_url.avatar}
  • {if is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage')} @@ -62,6 +63,7 @@
{/if} + {/if} {/foreach} diff --git a/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl b/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl index 7400916..829261e 100755 --- a/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl +++ b/gallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl @@ -19,6 +19,7 @@
{/if} + {/if} {/foreach} -- cgit v1.3