Check photo's permission before save image