ImageHelperIsMimeImage Method |
Determines whether image is an image depending on mimetype.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 13.0.131
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