banthagroup / fslightbox

An easy to use vanilla JavaScript plug-in without production dependencies for displaying images, videos, or, through custom sources, anything you want in a clean overlying box.
MIT License
346 stars 30 forks source link

Not working with avif extension #209

Open LebCit opened 1 year ago

LebCit commented 1 year ago

Hello, Using vanilla JS lightbox, it displays .jpg, .jpeg, .png, and .webp images but not .avif images. Thanks a lot for your time and all your efforts.

kasperkamperman commented 11 months ago

Would like this too. Also, how can I support fallbacks to jpeg? Maybe with the custom way (like maps, videoplayers?)