more progress on s3 image resizing