U4-4927 - Image Cropper Crop URL is wrong in 6.2.0

Created by Rody van Sambeek 15 May 2014, 08:38:09 Updated by Biagio Paruolo 28 Dec 2014, 09:23:47

When using a clean installation of Umbraco 6.2.0 I implement the Image Cropper datatype on Media. When receiving the crop URL from the Media Node using:

var media = Model.MediaById(1234); var url = media.crops.Find("@name", "cropname").url;

the URL that is returned is wrong: "/media/1015/header-men.jpg_Banner.jpg" while it should be: "/media/1015/header-men_Banner.jpg"


Sören Deger 16 May 2014, 09:44:52

I have the same issue here: http://our.umbraco.org/projects/backoffice-extensions/digibiz-advanced-media-picker/digibiz-advanced-media-picker/52798-Crop-Url-change-after-Upgrade-to-620

Sebastiaan Janssen 22 May 2014, 17:40:46

Looks like a refactor gone wrong a little bit, sorry about that. Fixed in 8fb446960c12d147950430712ac099d3c5a0c5e0

Sören Deger 23 May 2014, 06:23:10

Thank you Sebastiaan! I have tested it and it works now :-)

Biagio Paruolo 28 Dec 2014, 09:23:47


this return empty string now. Before works into U6.1.6 var dynamicMediaItem = Umbraco.Media(int.Parse(imageId)); var urlCrop = Umbraco.Media(imageId).GetCropUrl("320x613");

Priority: Normal

Type: Bug

State: Fixed


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions: 6.2.0

Due in version: 6.2.1


Story Points: