I have problems with the image cropper when the image is rendering. I'm using Umbraco 7.1.2 and tried to upgrade to a newer version (all the way up to 7.2.5) with no success.
I use the Multi Node Tree Picker to pick the image file (reason for that is that I want to limit access to a specific media type which holds the Image Cropper). I even tried to switch this property to a Media Picker with the same results.
The image crop is rendering properly when the croped image is untouched and the url is like this:
To get my crop I do like this in code where "image" is my Multi Node Tree Picker which is limited to only 1 item and only of media type "Cropped Image":
var image = Umbraco.Media(CurrentPage.GetPropertyValue("image")); var cropUrl = image.GetCropUrl("largeImage");
<img class="img-responsive" src="@cropUrl" alt="@Umbraco.Media(CurrentPage.GetPropertyValue("image")).Name" />
Image not rendering when using Image Cropper
Hey,
I have problems with the image cropper when the image is rendering. I'm using Umbraco 7.1.2 and tried to upgrade to a newer version (all the way up to 7.2.5) with no success.
I use the Multi Node Tree Picker to pick the image file (reason for that is that I want to limit access to a specific media type which holds the Image Cropper). I even tried to switch this property to a Media Picker with the same results.
The image crop is rendering properly when the croped image is untouched and the url is like this:
However, if I for example change the focal point or scale the crop I will get a url like this which is not rendering at all:
To get my crop I do like this in code where "image" is my Multi Node Tree Picker which is limited to only 1 item and only of media type "Cropped Image":
What could be wrong, any ideas?
Ok, I solved this problem. Problem was the Image Resizer plugin.
is working on a reply...