Closed rumaniel closed 4 months ago
Hello,
Currently the Tinify API is only able to store the image on buckets that do not block public access. We are planning to fix this in the future but sadly right now it will only work with 'block public access' disabled.
Hello! We have introduced a new optional parameter called "acl" for the API. This parameter can be configured to "no-acl" in order to enable storage without public permissions or ACL settings.
You can find more details it in the API documentation.
Cool. I tested it with "no-acl" configured and checked it works correctly.
Thank you for your support with an awesome solution.
I'll close this issue.
Hello Team.
I finally found your awesome solution so I tried to implement the solution to upload to S3.
But I got an error with "ServerError: The Bucket does not allow ACLs. (HTTP 500/Storage failed)".
The IAM has the following permissions.
But the Bucket and objects have no public access. The objects are distributed via CloudFront. So the end users can access on CDN.
In this case, how can I resolve this problem?
Optionally, I checked that I can upload via the aws s3 plugin. So it's possible to tinify it locally and upload via the s3 plugin.
Thanks.