Skip to main content
Known Participant
January 19, 2018
Answered

Bootstrap and fancybox?

  • January 19, 2018
  • 1 reply
  • 3167 views

in a very recent post, Nancy suggested using FancyBox to solve a lightbox problem. In a discussion a while ago she had spoken of the alternative of a Bootstrap modal.

I am updating our website: dominiquebello.com to make it responsive, using Bootstrap. The original website uses an earlier version of FancyBox, which Nancy helped me get working.

Any quick thoughts on whether I should use the new version of FancyBox (ease of use, achievement of the exact effect we got last time, etc), as opposed to a Bootstrap modal, whatever that is?

Thanks

Jerry

This topic has been closed for replies.
Correct answer Nancy OShea

Thanks, Nancy.

The original fancyBox app allowed us to have varying widths--we made sure they all had the same height. I hope that still applies in the current version


I have a demo with portrait and landscape you can look at.  It seems to work well.

Alt-Web Demo : Dynamic Photo Gallery with Bootstrap, PHP & Fancybox

Nancy

1 reply

Nancy OShea
Community Expert
Community Expert
January 19, 2018

Depends on  what you need.

Bootstrap Modal window + Carousel component = a fast way to create image galleries without any additional scripts or expense.

Bootstrap Modal + Carousel Gallery - https://alt-web.com/

Fancybox3 is a deluxe lightbox viewer.   But you need to purchase a license.

fancyBox - Touch enabled, responsive and fully customizable jQuery lightbox script

Nancy

Nancy O'Shea— Product User & Community Expert
DBSilkAuthor
Known Participant
January 19, 2018

Do I recall correctly that the Bootstrap alternative requires all the images have the same shape? Ours vary in width.

On the license issue, the fact that got a license for the original use still covers us, does it not?

Finally, notifications are not coming to my inbox. Any idea of how I can get that working again?

Thanks again

Jerry

Nancy OShea
Community Expert
Community Expert
January 19, 2018

If you have a license for FancyBox2, you're good to go.

DBSilk  wrote

Do I recall correctly that the Bootstrap alternative requires all the images have the same shape?

Most lightbox/modal windows work best with images that have the same aspect ratio.   If you mix landscape with portrait, you're liable to end up with something like this:

Nancy O'Shea— Product User & Community Expert