working on resizing image hosted on s3