ImageHelperIsMimeImage Method |
Determines whether image is an image depending on mimetype.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax public static bool IsMimeImage(
string mimetype
)
Parameters
- mimetype
- Type: SystemString
Mime type of image
Return Value
Type:
BooleanTrue if mimetype starts with 'image/'
See Also