summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgallery_views/galleriffic/fisheye_galleriffic_inc_1.tpl2
-rwxr-xr-xgallery_views/galleriffic/fisheye_galleriffic_inc_5.tpl2
2 files changed, 4 insertions, 0 deletions
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 @@
<div>
<ul class="thumbs noscript">
{foreach from=$gContent->mItems item=galItem}
+ {if !is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage') || $galItem->mInfo.thumbnail_url.avatar}
<li>
{if is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage')}
<a class="thumb" name="{$galItem->mImageId}" href="{$galItem->mInfo.thumbnail_url.large}{*$smarty.const.FISHEYE_PKG_URL}view_image.php?image_id={$galItem->mImageId*}" title="{$galItem->mInfo.title|escape}">
@@ -62,6 +63,7 @@
</div>
{/if}
</li>
+ {/if}
{/foreach}
</ul>
</div>
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 @@
<div>
<ul class="thumbs noscript">
{foreach from=$gContent->mItems item=galItem}
+ {if !is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage') || $galItem->mInfo.thumbnail_url.avatar}
<li>
{if is_a($galItem, '\Bitweaver\Fisheye\FisheyeImage')}
<a class="thumb" name="{$galItem->mImageId}" href="{$galItem->mInfo.thumbnail_url.large}{*$smarty.const.FISHEYE_PKG_URL}view_image.php?image_id={$galItem->mImageId*}" title="{$galItem->mInfo.title|escape}">
@@ -60,6 +61,7 @@
</div>
{/if}
</li>
+ {/if}
{/foreach}
</ul>
</div>