improved check for the photo position setting