Properly replace exif data instead of appending.
Get attributes from the attribute object.
Default to the image filename if no title field can be found.