Click or drag to resize
ImageHelperIsMimeImage Method
Determines whether image is an image depending on mimetype.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.0.0
Syntax
C#
public static bool IsMimeImage(
	string mimetype
)

Parameters

mimetype
Type: SystemString
Mime type of image

Return Value

Type: Boolean
True if mimetype starts with 'image/'
See Also