Method | Description | |
---|---|---|
AddModifier ( string>.Func |
Adds a URL modifier that will be applied when the image URL is generated
|
|
BuildUrl ( string imagePath ) : string |
Builds an ImageResizer image URL using the current configuration and assigned modifiers
|
|
ClearModifiers ( ) : void |
Clears all URL modifiers from this ImageUrlBuilder instance.
|
|
ImageUrlBuilder ( ) : System | ||
SetParameter ( string parameterName, string parameterValue ) : |
A quick way of adding parameters to the ImageUrlBuilder configuration
|
Method | Description | |
---|---|---|
ApplyConfiguration ( string imagePath ) : string |
Applies the current configuration to imagePath
|
|
GetModifiedPath ( string path ) : string |
Applies the current modifiers to the generated path
|
public AddModifier ( string>.Func |
||
modifier | string>.Func | |
return |
public BuildUrl ( string imagePath ) : string | ||
imagePath | string | The source path of the image |
return | string |
public SetParameter ( string parameterName, string parameterValue ) : |
||
parameterName | string | The parameter name |
parameterValue | string | The parameter value |
return |