support only upload jpg and png