Fix the problem with the special characters and improve the quality of the image upload