I would like to see this too.someone else interested in extend the lazy images in the Media Gallery?
- Update lazysizes javascript library to 2.0.7
Xon updated Lazy Load [img] with a new update entry:
Add XenForo Media Gallery support
Read the rest of this update entry...
Thank you very much for this update.Xon updated Lazy Load [img] with a new update entry:
Add XenForo Media Gallery support
Read the rest of this update entry...
The latest ones. XF 1.5.11 and XFMG 1.1.10.What version of xf and xfmg are you using?
Here you go (only the content of the Flat Awesome+ templates; the standard templates are as delivered by XF):Can you share the content of these two templates:
xengallery_media_thumb_item
xengallery_bb_code_tag_gallery_media
<li id="media" class="tabContent">
<xen:if is="{$media.bbCodeOption} == 'simple'">
<h3 class="textHeading">{$media.media_title}</h3>
</xen:if>
<div class="tabSection">
<xen:if is="{$media.media_type} == 'image_upload'">
<a href="{xen:link xengallery, $media}">
<img src="{xen:link xengallery/full, $media}" class="galleryImage" />
</a>
<xen:elseif is="{$media.media_type} == 'video_upload'" />
<xen:include template="video_js_setup" />
<div class="mediaContainer">
<div class="videoContainer">
<video id="media-video-{$media.media_id}" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" width="500" height="300" data-setup="{}">
<source src="{$media.videoUrl}" type="video/mp4">
</video>
</div>
</div>
<xen:else />
{xen:raw $media.videoHtml}
</xen:if>
</div>
</li>
Hi can you try this version? https://github.com/Xon/XenForo-LazyImageLoader/archive/master.zipThank you very much for this update.
Unfortunatley not working on the gallery index page and on the category pages. Now there is no image shown instead of the thumbnail.
On detail pages everything is fine. Gallery images included in posts are ok, too.
Tested with default and custom layout. Already re-downloadeded and re-installed, but still the same.
View attachment 144807
- Bugfixes to XFMG integration. Thanks @Nuno
We use essential cookies to make this site work, and optional cookies to enhance your experience.