C# Class ImageResizer.FluentExtensions.S3Extensions

ImageUrlBuilder extensions for the AzureReader plugin. For more information see http://imageresizing.net/plugins/s3reader.
Show file Open project: benfoster/ImageResizer.FluentExtensions

Public Methods

Method Description
FromS3 ( this urlBuilder, string prefix = "s3", string bucketName = null ) : ImageUrlBuilder

Applies a url modifier for use with the S3Reader plugin. For more information see http://imageresizing.net/plugins/s3reader.

Method Details

FromS3() public static method

Applies a url modifier for use with the S3Reader plugin. For more information see http://imageresizing.net/plugins/s3reader.
public static FromS3 ( this urlBuilder, string prefix = "s3", string bucketName = null ) : ImageUrlBuilder
urlBuilder this The instance to apply the modifier to.
prefix string /// The virtual folder that all buckets can be accessed under. Defaults to "s3" /// This should match the prefix setting of the plugin defined in web.config. ///
bucketName string /// An optional bucket name. If no name is specified the container is inferred from the image path's root directory. ///
return ImageUrlBuilder