Quick Fix for Featherlight JQuery Plugin Causing Jumbled Text On Image Preview.

A quick fix for the Featherlight jQuery plugin involves updating a regex line to support WEBP image formats, easily extending to others not recognized. A more robust solution removes regex dependency entirely, using MIME types to validate images, which may not work in all systems. Caution is advised when implementing these fixes.

3 min read