add pre-validation in ticket form when selecting image to upload
Merge pull request #30 from YanshuoH/view-yp

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