I have tried numerous different things trying to get this to work, but doesn't seem to work 100%
I have gotten the closest with the following:
@Url.GetCropCdnUrl(Model.Content.GetPropertyValue("photoFile"), cropAlias: "Base")
The CDN url is correctly resolved but the cropAlias isn't applied (no width or height parameters) and it also creates a new random string with each request resulting in numerous cache entries.
I have tried numerous different things trying to get this to work, but doesn't seem to work 100%
I have gotten the closest with the following: @Url.GetCropCdnUrl(Model.Content.GetPropertyValue("photoFile"), cropAlias: "Base")
The CDN url is correctly resolved but the cropAlias isn't applied (no width or height parameters) and it also creates a new random string with each request resulting in numerous cache entries.