Mix images and video in one gallery in Fancybox3

144 views
Skip to first unread message

ray...@web.de

unread,
Aug 10, 2017, 3:12:13 AM8/10/17
to FancyBox
Hi fellows,

FancyBox3 says in its showcase description: 'Supported sites can be used with fancyBox by just providing the page URL. You can mix images, videos and any HTML content in each gallery.'
Does that mean that it is easier now to combine images and youtube in one gallery than it was in older versions and described her in this group? That is what I want. I tried anything, but only images appear.

Here is my html-code for the images: 

<div class="popup-gallery">
<a href="css/images/temp/gallery-14/lightbox-1.jpg" rel="author" class="image-show" data-fancybox="gallery" data-caption="Lorem ipsum dolor sit amet, consectetur adipiscing elit est">
<img src="css/images/temp/gallery-14/lightbox-1.jpg" alt="">
</a>
<a href="css/images/temp/gallery-14/lightbox-2.jpg" rel="author" class="image-show" data-fancybox="gallery" data-caption="Lorem ipsum dolor sit amet, consectetur adipiscing elit est">
<img src="css/images/temp/gallery-14/lightbox-2.jpg" alt="">
</a>
</div>


What exactly do I have to do for displaying an additional youtube video within my gallery?

Thanks and regards – Michael


Reply all
Reply to author
Forward
0 new messages