I see that you store the following MD5 fields in PhotoTable md5 thumbnail_md5 exif_md5 The file md5 is used for detecting photo duplicates but why do you keep the thumbnail_md5 and exif_md5 in PhotoTable? Peter