debug getting image from s3