Image cropper issue in Azure CDN Toolkit for Umbraco plugin
Hi,
I am using Azure CDN Toolkit for Umbraco it works fine except the issue in cropped image.
If I use custom Image cropper data type with more than 1 crop when I am rendering the image in view file using Url.GetCropCdnUrl() function it always consider the default or first crop dimensions,
Image cropper issue in Azure CDN Toolkit for Umbraco plugin
Hi,
I am using Azure CDN Toolkit for Umbraco it works fine except the issue in cropped image.
If I use custom Image cropper data type with more than 1 crop when I am rendering the image in view file using Url.GetCropCdnUrl() function it always consider the default or first crop dimensions,
I tried specifying crop alias like below
@Url.GetCropCdnUrl(blogPost,propertyAlias:"bloglistingimage",cropAlias:"homePageBlogImage")
but it is not working always showing image of default crop size, can anyone tell me what is the issue and is there any work around.
Hi,
I am able to resolve the issue, when we are using crop alias we should also set vale true for 'useCropDimensions' parameter as shown below
@Url.GetCropCdnUrl(blogPost,propertyAlias:"bloglistingimage",cropAlias:"homePageBlogImage", useCropDimensions:true)
is working on a reply...