Strip query parameters in image URLs
Handle IndexError when parsing exif data in images