catch save image validation