fancybox
fancybox copied to clipboard
Multiple formats for zoomed image
Is there a way to set up more than one image source for the zoomed version ?
E.g: WebP + JPEG
<a
data-fancybox="media"
href="image.jpg"
data-sources="image.webp, image.jpeg"
>
Hey
</a>
Render in modal dialog using <picture> and <source> tags
Don't think there is atm: https://github.com/fancyapps/fancybox/blob/master/src/js/core.js#L1773 Similar to #1596
Or assume the user will name the files with the same filename, like lazyload does: https://github.com/verlok/lazyload#switch-to-webp
That would be really great!
You got my vote. I'm looking for a gallery that allows using multiple formats (webp, jp2 and jpg as fallback).
Hi, This will be possible in v4.
That's great news. Any estimates on release date?
Any updates about this? I really need this feature or some other way for multiple formats.
Any updates?
Honestly, I am not sure if this feature is import enough to justify implementation and maintenance costs.