adding beginning of image upload support (image compress and upload to aws is missing)