made widget allow for s3 images to be displayed