Method | Description | |
---|---|---|
AdaptiveImageHandler ( ) : System | ||
ProcessRequest ( |
Method | Description | |
---|---|---|
BrowserDetect ( |
Switch off mobile-first if browser is identifying as desktop
|
|
GenerateImage ( string source_file, string cache_file, int resolution ) : string |
Generates a resized image at a specified resolution from the source_file and saves to the cache_file
|
|
GetEncoderForMimeType ( string mimeType ) : System.Drawing.Imaging.ImageCodecInfo |
Return the ImageCodecInfo for a given mime-type
|
|
RefreshCache ( string source_file, string cache_file, int resolution ) : string |
Deletes the cache_file if older than source_file
|
|
SendErrorImage ( |
Sends an image to the client with the specified message
|
|
SendImage ( |
Sends an image to the client with caching enabled
|
public ProcessRequest ( |
||
context | ||
return | void |