Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi all!
I'm having some problems when trying to use the package and get a cropped image on webp format. This is the code I'm using:
<img src="@Url.GetCropCdnUrl(Umbraco.TypedMedia(6402), cropAlias: "small", width: 300, height: 200)" /> <img src="@Url.GetCropCdnUrl(Umbraco.TypedMedia(6402), cropAlias: "small", width: 300, height: 200, furtherOptions: "format=webp")" />
And this is the result:
As you can see the first image is being cropped properly (300x200 px), but when trying to use webp on the furtherOptions the image is not being cropped as expected (300x168 px).
Could anyone shine some light on this? Thank you very much.
update:
I've just upgrade the Our.Umbraco.AzureCDNToolkit.Core package version from 0.1.1-beta to 0.1.2-beta, but the issue still persists.
Any help would be much appreciated!
Thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Azure CDN Toolkit issue when using webp format
Hi all!
I'm having some problems when trying to use the package and get a cropped image on webp format. This is the code I'm using:
And this is the result:
As you can see the first image is being cropped properly (300x200 px), but when trying to use webp on the furtherOptions the image is not being cropped as expected (300x168 px).
Could anyone shine some light on this? Thank you very much.
update:
I've just upgrade the Our.Umbraco.AzureCDNToolkit.Core package version from 0.1.1-beta to 0.1.2-beta, but the issue still persists.
Any help would be much appreciated!
Thanks.
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.