使用ng-croppie库在IE 10中调整S3图像大小

时间:2016-11-11 09:59:33

标签: angularjs amazon-web-services amazon-s3 image-upload request-headers

当图像存储在我的服务器中时,我使用ng-croppie(https://github.com/allenRoyston/ngCroppie)库来上传和调整图像大小以及所有浏览器的工作正常。

当图像来自S3存储桶时,它仅在IE 10中保存空图像。 其他浏览器,它工作正常。

我的水桶的配置是,

<?xml version="1.0" encoding="UTF-8"?>
<CORSConfiguration xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
    <CORSRule>
        <AllowedOrigin>*</AllowedOrigin>
        <AllowedMethod>GET</AllowedMethod>
        <MaxAgeSeconds>3000</MaxAgeSeconds>
        <AllowedHeader>*</AllowedHeader>
    </CORSRule>
</CORSConfiguration>

并且没有存储桶策略。

任何帮助或建议都会非常感激。

感谢您的帮助!

0 个答案:

没有答案