fixed image upload ascii encode