The ImageHandler type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| ImageHandler | DotNetNuke.Services.GeneratedImage.ImageHandler |
Methods
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GenerateImage | ||
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ProcessRequest | ||
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
Extension Methods
| Name | Description | |
|---|---|---|
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Defined by JsonExtensionsWeb.) |
Properties
| Name | Description | |
|---|---|---|
| AllowedDomains |
List of Domains who are allowed to use the imagehandler when security is enabled
| |
| AllowStandalone | ||
| ClientCacheExpiration |
Sets the client-side cache expiration time
| |
| ContentType |
Sets the type of the result image. The handler will return ouput with MIME type matching this content
| |
| EnableClientCache |
Enables client-side caching of the result
| |
| EnableIPCount |
Enables block mechanism for DDOS by referring IP
| |
| EnableServerCache |
Enables server-side caching of the result
| |
| ImageCompression |
Sets the image compression encoding for the result image. Default is 50L
| |
| ImageTransforms |
A list of image transforms that will be applied successively to the image
| |
| IPCountMaxCount |
Sets the maximum amount of images an IP address is allowed to generate
in the defined purge interval
| |
| IPCountPurgeInterval |
Timespan for resetting the blocking
| |
| IsReusable | ||
| LogSecurity |