restructuring of image upload, style changes