bs5-lightbox

A pure JS lightbox gallery plugin for Bootstrap 5 based on the Modal and Carousel components

MIT License

Downloads
10.9K
Stars
131
Committers
3

Bot releases are visible (Hide)

bs5-lightbox - Vimeo Fix Latest Release

Published by trvswgnr about 2 years ago

Fixed an issue with Vimeo embeds resulting in 404.

bs5-lightbox - Bugfixes

Published by trvswgnr about 2 years ago

  • Fixes slide issue on Bootstrap ^5.2
  • Constrain images to original dimensions by default, with option to disable
  • Updated options and types
  • Added support for YouTube parameters in URL
  • Fixes a bug where using a forced image type with a caption would break the URL
bs5-lightbox - Vanilla JS & Build Process Rework

Published by trvswgnr over 2 years ago

  • Reworked entire build process, no longer packages any existing Bootstrap 5 components, resulting is drastically reduced file sizes
  • Ditched TypeScript for now to increase accessibility and pure-javascript clarity
  • Added feature to allow custom HTML in data-src with data-type="html"
  • Added "module" to package.json for ES modules, allowing Tree Shaking
  • Bugfixes and general improvements
bs5-lightbox - data-type galleries fix

Published by trvswgnr over 2 years ago

  • Fixed a bug where data-type="image" wasn't being handled correctly on galleries
  • Automatic checking for image types is now case insensitive
  • Fixed a bug where galleries weren't opening on the selected media
bs5-lightbox - Fix onload bug

Published by trvswgnr over 2 years ago

Fixes an issue with some outlying code causing an error.

bs5-lightbox - Fix data-type implementation

Published by trvswgnr over 2 years ago

Resolved an issue where data-type="image" was being ignored.

bs5-lightbox - Bugfixes

Published by trvswgnr about 3 years ago

Fixes bugs related to captions and the modal close button.

bs5-lightbox - Add captions feature

Published by trvswgnr about 3 years ago

Captions can now be added via data-caption="Some caption" or data-footer="Some caption".

bs5-lightbox - Use TypeScript, Simplify Build

Published by trvswgnr about 3 years ago

Now using TypeScript for the main module. Drastically simplified the build process. Fixed bugs, and compatibility issues.

bs5-lightbox - Bugfixes, General Improvements

Published by trvswgnr about 3 years ago

Fixed quite a few small bugs and made general improvements.

bs5-lightbox - Embed Support

Published by trvswgnr about 3 years ago

Added support for general embeds (tested by the presence of a data-type attribute, or a href/data-src that doesn't include an image file extension. Also tests for Instagram and YouTube embeds.

bs5-lightbox - Initial Release

Published by trvswgnr about 3 years ago

Creates an events for each element with the attribute data-toggle="lightbox" and opens a Bootstrap modal containing a carousel of items generated from elements with the same data-gallery attribute. Intended as a replacement for ekko-lightbox

Package Rankings
Top 4.72% on Npmjs.org
Badges
Extracted from project README
github latest release jsdelivr hits per month npm downloads npm minzipped size npm version Featured on Openbase
Related Projects