CMSDialogHelperIsImageLink Method |
Returns true if link url is not for image full size, returns false if link is image full size url.
Namespace: CMS.Base.Web.UIAssembly: CMS.Base.Web.UI (in CMS.Base.Web.UI.dll) Version: 11.0.0
Syntax public static bool IsImageLink(
string imgUrl,
string linkUrl,
int originalWidth,
int originalHeight,
string target
)
Parameters
- imgUrl
- Type: SystemString
Image url - linkUrl
- Type: SystemString
Link url - originalWidth
- Type: SystemInt32
Original image width - originalHeight
- Type: SystemInt32
Original image height - target
- Type: SystemString
Link target
Return Value
Type:
BooleanSee Also