Add support for generating thumbnails for WebP images. Previously, users would see an empty box instead of preview image.