Open gewoonderrik opened 9 years ago
Sounds good, should be tested if it's working as intended on all devices.
@luukdv will research this.
I find fancybox nicer qua UI.
Reopening this to investigate. Fancybox is getting outdated (https://github.com/trendwerk/trendpress/issues/312#issuecomment-64886827). Maybe https://github.com/sachinchoolur/lightgallery.js/.
I still think the Fancybox UI is better because it is simpeler and has huge clickable area's. You can click left / right on an image for previous / next image and outside of an image to close it. Is there an alternative with the same simple UI?
Decided to use Photoswipe
We should also remove the Base64 Gulp task after Fancybox is removed (See: https://github.com/trendwerk/sphynx/issues/794).
Seems like a more modern solution because it has touch screen support. File size is 10kb less than
fancybox.min.js
.