Add webp support and detection, fix drop uploads