sanity check for photos