add pre-validation in ticket form when selecting image to upload