Added check for when exif is None in adding pictures