• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ImageHandler

Image Handler abstract class.

Inheritance
System.Object
ImageHandler
DnnImageHandler
Namespace: DotNetNuke.Services.GeneratedImage
Assembly: DotNetNuke.dll
Syntax
public abstract class ImageHandler : IHttpHandler

Constructors

| Improve this Doc View Source

ImageHandler()

Initializes a new instance of the ImageHandler class.

Declaration
protected ImageHandler()

Properties

| Improve this Doc View Source

AllowedDomains

Gets or sets list of Domains who are allowed to use the imagehandler when security is enabled.

Declaration
public string[] AllowedDomains { get; set; }
Property Value
Type Description
System.String[]
| Improve this Doc View Source

AllowStandalone

Image Handler abstract class.

Declaration
public bool AllowStandalone { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ClientCacheExpiration

Gets or sets the client-side cache expiration time.

Declaration
public TimeSpan ClientCacheExpiration { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

ContentType

Gets or sets the type of the result image. The handler will return ouput with MIME type matching this content.

Declaration
public ImageFormat ContentType { get; set; }
Property Value
Type Description
ImageFormat
| Improve this Doc View Source

EnableClientCache

Gets or sets a value indicating whether enables client-side caching of the result.

Declaration
public bool EnableClientCache { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableIPCount

Gets or sets a value indicating whether enables block mechanism for DDOS by referring IP.

Declaration
public bool EnableIPCount { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

EnableServerCache

Gets or sets a value indicating whether enables server-side caching of the result.

Declaration
public bool EnableServerCache { get; set; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

ImageCompression

Gets or sets the image compression encoding for the result image. Default is 50L.

Declaration
public long ImageCompression { get; set; }
Property Value
Type Description
System.Int64
| Improve this Doc View Source

ImageTransforms

Gets a list of image transforms that will be applied successively to the image.

Declaration
protected List<ImageTransform> ImageTransforms { get; }
Property Value
Type Description
List<ImageTransform>
| Improve this Doc View Source

IPCountMaxCount

Gets or sets the maximum amount of images an IP address is allowed to generate in the defined purge interval.

Declaration
public int IPCountMaxCount { get; set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

IPCountPurgeInterval

Gets or sets timespan for resetting the blocking.

Declaration
public TimeSpan IPCountPurgeInterval { get; set; }
Property Value
Type Description
TimeSpan
| Improve this Doc View Source

IsReusable

Image Handler abstract class.

Declaration
public virtual bool IsReusable { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

LogSecurity

Image Handler abstract class.

Declaration
public bool LogSecurity { get; set; }
Property Value
Type Description
System.Boolean

Methods

| Improve this Doc View Source

GenerateImage(NameValueCollection)

Image Handler abstract class.

Declaration
public abstract ImageInfo GenerateImage(NameValueCollection parameters)
Parameters
Type Name Description
NameValueCollection parameters
Returns
Type Description
ImageInfo
| Improve this Doc View Source

ProcessRequest(HttpContext)

Image Handler abstract class.

Declaration
public void ProcessRequest(HttpContext context)
Parameters
Type Name Description
HttpContext context

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS