sagidM / s3-resizer

AWS Lambda for resizing images in S3 on fly.
MIT License
224 stars 78 forks source link

AccessDenied #17

Closed abodehq closed 4 years ago

abodehq commented 4 years ago

Great library by the way, it works great in the root of the buckets ,

but when i created folder inside the backet and upload new image to this sub folder when i tried to resize it using the fill path https://lockcommerce.s3.me-south-1.amazonaws.com/187hdk3783-34345/50x50/img.png the sub folder name : 187hdk3783-34345 ( cause i want to create folder for each customer .

i received this error

AccessDenied Access Denied F59E7CC0FF72CEA3 5L5me6BP8S9Xk8qH9XeYBk1WvXobMz91MO/oCDVlXgad+5bgG7/CWWPy+C1dlk5IOpB4YctAWbY=

please help .

abodehq commented 4 years ago

i fixed that i mixed the domain url with the backer full url :) thanks by the way.