Copied to clipboard

Flag this post as spam?

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


  • David Gregory 73 posts 199 karma points
    Jan 17, 2018 @ 15:21
    David Gregory
    1

    Does Image Cropper have to put the dimesions in the URL?

    Hi

    The generated url for my image is :

    .jpg?anchor=center&mode=crop&width=350&height=350&rnd=131528153510000000
    

    Is there a way to get the cropped image but without it embeding the dimensions in the URL?

    I'm calling it like this

    myImage.GetCropUrl("myCropAlias")

    Umbraco 7.7.2

  • Søren Kottal 530 posts 3521 karma points MVP 2x c-trib
    Jan 18, 2018 @ 08:23
    Søren Kottal
    0

    Hi David

    You can add presets in ImageProcessor (http://imageprocessor.org/imageprocessor-web/configuration/#processingconfig)

    But, that would make it a bit more difficult to use with Umbraco as it wouldn't know anything about your presets.

    You url would then be something.jpg?preset=mypresetname

  • 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