add special chars support, update and optimize images