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
https://www.mydomain.com/media/esknykjz/example.jpg?center=0.6074074074074074,0.83&mode=crop&width=1600&height=0&rnd=132502546886700000
In the backend how do I access the center value? 0.6074074074074074,0.83
0.6074074074074074,0.83
Here's how I get the image URL:
Model.Value<IPublishedContent>("image").GetCropUrl(1600,0)
Hey Bh,
Assuming that the property is a media item of type image in the Umbraco back office. the Centre point is governed by the blue dot in the Image Cropper property on there I think.
Cheers
Nik
@Nik I understand that. I'm trying to get the numerical value associated with that center point to use on my view.
I don't think there is a way unfortunately :-)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Image Center Value?
In the backend how do I access the center value?
0.6074074074074074,0.83
Here's how I get the image URL:
Hey Bh,
Assuming that the property is a media item of type image in the Umbraco back office. the Centre point is governed by the blue dot in the Image Cropper property on there I think.
Cheers
Nik
@Nik I understand that. I'm trying to get the numerical value associated with that center point to use on my view.
I don't think there is a way unfortunately :-)
is working on a reply...