got amazon s3 and image resizing working