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
I'm using this code:
<div style="background:url(@Model.Value<IPublishedContent>("TopImage").GetCropUrl(1600,0,preferFocalPoint: true)) no-repeat center center; height:calc(70% - .5rem); display:block;"></div>
Here's the cropUrl that get's rendered:
/media/ynfmebz2/novel-deep-ellum_-dallas_-tx-6-1.jpg?center=0.846915814907379,0.5&mode=crop&width=1600&height=0&rnd=132418894819770000
The focal point is ignored. What am I missing?
Did you find a solution ?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
GetCropUrl focal point not working
I'm using this code:
Here's the cropUrl that get's rendered:
The focal point is ignored. What am I missing?
Did you find a solution ?
is working on a reply...