Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • bh 444 posts 1544 karma points
    Aug 17, 2020 @ 14:22
    bh
    0

    GetCropUrl focal point not working

    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?

  • Thomas 319 posts 606 karma points c-trib
    Dec 14, 2021 @ 11:38
    Thomas
    0

    Did you find a solution ?

  • 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.

Please Sign in or register to post replies