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 82 posts 208 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 702 posts 4497 karma points MVP 5x 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

Please Sign in or register to post replies

Write your reply to:

Draft