ImageResizer plugin for resizing images from S3
$ dotnet add package ImageResizer.Plugins.S3Reader2Allows images located on Amazon S3 to be processed and resized as if they were located locally on the disk.
See Samples/S3ReaderSample/ in the download for a sample project.
Install-Package ImageResizer.Plugins.S3Reader2 or add a reference to ImageResizer.Plugins.S3Reader2.dll.<add name="S3Reader2" prefix="~/s3" region="us-east-1" buckets="my-bucket-1,my-bucket-2,my-bucket-3" /> inside <plugins></plugins> in Web.config.The default region is 'us-east-1', which works for buckets in both 'us-east-1' and 'us-west-1', but not 'us-west-2' or any other buckets. Use multiple installations of S3Reader2 with different prefixes if you need to support multiple regions.
"us-east-1", "US East (Virginia)"
"us-west-1", "US West (N. California)"
"us-west-2", "US West (Oregon)"
"eu-west-1", "EU West (Ireland)"
"ap-northeast-1", "Asia Pacific (Tokyo)"
"ap-southeast-1", "Asia Pacific (Singapore)"
"ap-southeast-2", "Asia Pacific (Sydney)"
"sa-east-1", "South America (S�o Paulo)"
"us-gov-west-1", "US GovCloud West (Oregon)"
When creating a bucket, you should avoid certain characters to ensure that DNS works properly. While Amazon will let you create buckets that violate some of these rules, you may have trouble accessing them using the subdomain syntax or over HTTPS. Make sure every bucket is also a valid DNS address. Read more.
You must specify a comma-delimited list of permitted bucket names that can be accessed.
If you want to access non-public bucket items, you will need to specify an access ID and key.
<add name="S3Reader2" buckets="my-bucket-1,my-bucket-2,my-bucket-3" prefix="~/s3/" checkForModifiedFiles="false" useSsl="false" accessKeyId="" secretAccessKey="" region="us-east-1" />