Click or drag to resize
ImageHelperIsImage Method
Determines whether it is an image extension or not. Accepts extensions in both formats ".gif", and "gif"

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static bool IsImage(
	string extension
)

Parameters

extension
Type: SystemString
File extension to check

Return Value

Type: Boolean
See Also