Added check for captions to posted photos.