Fix a bug 

Fix a bug on 4: 添加图片上传功能, please view the code for details.