<ahref="https://www.wonderplugin.com/videos/demo-image3.jpg"class="wplightbox"data-weblink="https://www.wonderplugin.com"data-weblinktarget="_blank"title="Click the image to visit <a href="https://www.wonderplugin.com" target="_blank">https://www.wonderplugin.com</a>">Image Lightbox</a>
Demo code (please make sure to change the video URL to your own):
<ahref="https://www.wonderplugin.com/videos/wonderplugin-carousel.mp4"class="wplightbox"data-weblink="https://www.wonderplugin.com"data-weblinktarget="_blank"data-width=960data-height=544title="Click the video to visit <a href="https://www.wonderplugin.com" target="_blank">https://www.wonderplugin.com</a>">Video Lightbox</a>
Image & video Lightbox gallery with thumbnail navigation
To create a gallery of images and videos, you can add a attribute data-group to the related links. You can use any string as the group name, as long as all of the links in one gallery has same value.
You can use data-thumbnail to add thumbnail navigation to the gallery.
Live demo
Demo code (please make sure to change the image and video URL to your own):
To show a description, you need to enable the option Show description in the Lightbox Options page, then add data attribute data-description to your link.
<ahref="https://www.wonderplugin.com/videos/demo-image2.jpg"class="wplightbox"title="You can display a title."data-description="You can also display a description.">Lightbox with title and description</a>
Customise the lightbox with data attributes - display text on the right side of the lightbox
You can change the lightbox options in the plugin menu -> Lightbox Options. The change will apply to all lightboxes on the website.
Instead of changing options for all lightboxes, you can also use data attributes to change the specified lightbox link. The following demo will use data attribute to display the text on the right side of the lightbox.
<ahref="https://www.youtube.com/watch?v=c9-gOVGjHvQ"class="wplightbox"data-titlestyle="right"data-width="640"data-height="360"title="WonderPlugin Carousel"data-description="WonderPlugin Carousel is a WordPress plugin that enables you to create WordPress posts carousel for categories, WordPress recent posts carousel, image carousel slider, image scroller and video LightBox. The plugin supports WordPress posts, images, YouTube, Vimeo, mp4 and webm videos. It's fully responsive, works on iPhone, iPad, Android, Firefox, Chrome, Safari, Opera and Internet Explorer 7/8/9/10/11.">YouTube Lightbox</a>
<pclass="divdescription"style="font-size:14px;line-height:20px;"> WonderPlugin Gallery is a WordPress photo and video gallery plugin, and a great way to showcase your images and videos online. The plugin supports images, YouTube, Vimeo, Dailymotion, mp4 and webm videos. It's fully responsive, works on iPhone, iPad, Android, Firefox, Chrome, Safari, Opera and Internet Explorer 7/8/9/10/11. </p>
WonderPlugin Gallery is a WordPress photo and video gallery plugin, and a great way to showcase your images and videos online.
The plugin supports images, YouTube, Vimeo, Dailymotion, mp4 and webm videos.
It's fully responsive, works on iPhone, iPad, Android, Firefox, Chrome, Safari, Opera and Internet Explorer 7/8/9/10/11.
We use cookies to ensure you get the best experience on our website. By using our website, you consent to our Privacy Policy.