Description
SimpleLightbox is a touch-friendly JavaScript image lightbox for mobile and desktop websites, written by André Rinas. You mark up a gallery as plain links pointing to full-size images, usually wrapping thumbnails, and SimpleLightbox opens them in an overlay; the title attribute of each image is used as the caption by default, and images are grouped by their rel attribute. It can be installed with npm, Yarn or Bower, or used by including its CSS and JS files directly. There is a standalone version that you create with new SimpleLightbox and a jQuery-style plugin call, and for Webpack, Browserify or Parcel you can import it either as a Babel-transformed module or a plain ES module. The documentation covers options, events, public methods, multiple lightboxes on one page and customization, and there are WordPress and TYPO3 versions.…
Highlights
- Touch-friendly lightbox for mobile and desktop
- Works from simple image link markup
- Captions from image titles
- Standalone, jQuery and ES module builds
- Options, events and public methods
- Multiple lightboxes per page
Ratings & Reviews
No ratings yet
Be the first to rate Simplelightbox.
People also visit

react-image-gallery
Responsive image gallery, carousel, image slider react component
Simplelightbox FAQ
What is SimpleLightbox?
A touch-friendly image lightbox for websites that works on mobile and desktop.
How do I install it?
With npm install simplelightbox, yarn add simplelightbox or bower install simplelightbox, or by including simple-lightbox.css and simple-lightbox.js in your page.
How do I start it?
Use new SimpleLightbox('.gallery a', { /* options */ }) with the standalone build, or $('.gallery a').simpleLightbox() with the jQuery version.
What markup does it need?
Links that point to images. The content inside each link can be anything, such as thumbnails, and the title attribute is used as the caption.
Can I use it in WordPress?
The site links to WordPress and TYPO3 versions.
What are the best Simplelightbox alternatives?
Popular alternatives to Simplelightbox include React Native Image Viewing, Diva.js and Leafview. See all Simplelightbox alternatives









