Raise warning for non-image file formats
Fix bug with small YouTube thumbnails
Small tweak to duplicate handling