jQuery Bootstrap 4 Light Box Gallery Plugin – ekkoLightbox
Are you looking for a light box image thumbnail gallery to display multiple images with navigation and lightbox popup. you can click on any image and it’ll display big size of image in lightbox popup. The lightbox plugin is easy to integrate on your website just follow the below steps. A lightbox module for Bootstrap that supports images, YouTube videos, and galleries – built around Bootstrap’s Modal plugin.
Libraries
HTML
CSS
.row {
margin: 15px;
}
JS
$(document).on("click", '[data-toggle="lightbox"]', function(event) {
event.preventDefault();
$(this).ekkoLightbox();
});
Options
| Name | type | default | description | data-* |
|---|---|---|---|---|
| leftArrow / rightArrow | html | ❮ / ❯ |
HTML for the arrows | |
| wrapping | boolean | true |
Whether the gallery should loop or not | |
| width / height | integer | Force the width / height | data-(width|height)="[0-9]+" |
|
| maxWidth / maxHeight | integer | 9999 | Limit the container width / height | data-(max-width|max-height)="[0-9]+" |
| alwaysShowClose | boolean | false |
Always show the close button, even if no title is present | |
| loadingMessage | html | A fancy loader | HTML injected for loading | |
| showArrows | bool | true | Disable the navigation overlay |
See live demo and download source code.
DEMO | DOWNLOAD
This awesome script developed by nsom. Visit their official repository for more information and follow for future updates.
