Fix bugs in image upload
Fix bug
Fix bug
Fix validation of web_submit