Copied to clipboard

Flag this post as spam?

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


  • bh 408 posts 1395 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 315 posts 602 karma points c-trib
    Dec 14, 2021 @ 11:38
    Thomas
    0

    Did you find a solution ?

Please Sign in or register to post replies

Write your reply to:

Draft