Copied to clipboard

Flag this post as spam?

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


  • Frank 1 post 71 karma points
    Dec 13, 2015 @ 20:07
    Frank
    0

    GetCropUrl returns null

    Hi all,

    Since I upgraded Umbraco to version 7.3.4 the GetCropUrl returns null.

    I have a IPublishedContent page model which contains the following property:

    • PropertyTypeAlias: "bannerImage"
    • {"focalPoint": {"left":0.5,"top":0.5}, "src":"/media/1055/banner.jpg", "crops":[{"alias":"1280×720","width":1280,"height":720,"coordinates":{"x1":0.21158055555555555,"y1":0,"x2":0.0017527777777778552,"y2":0}}]}"

    Normally the GetCropUrl did return an url:

    • page.GetCropUrl("bannerImage","1280x720");

    Unfortunately, this returns null since i upgraded Umbraco. In the web.config i have the ImageProcessor registered:

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Dec 13, 2015 @ 21:29
    Dennis Aaen
    101

    Hi Frank,

    I think that you need to use the crop healer for umbraco package developed by Jeavon Leopold.

    https://our.umbraco.org/projects/collaboration/crop-healer-for-umbraco/

    Hope this helps,

    /Dennis

  • 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