fslightbox, the better photoswipe

by manu

I was looking for a better lightbox script the other day.

I was already sold on photoswipe for years. While its UX is top notch, it requires quite some efforts to integrate.

fslightbox on the other hand is simple. I just include the script and it works on every link with a data-fslightbox attribute. It also allows me to open custom content, e.g. an href="#foo" will open an element with the id="foo" set in the lightbox.