image upload resize, complete file upload validation v1