Copied to clipboard

Flag this post as spam?

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


  • Phani 21 posts 70 karma points
    Jun 01, 2016 @ 10:07
    Phani
    0

    Umbraco inbuilt Image cropper with xslt

    Hi All,

    We're trying to use the inbuilt Image cropper with Umbraco 7.4.3.

    Every thing is working fine but we're not able to get the image crops by using XSLT.

    As we're working with XSLT, we're trying to get the syntax to get imge cropper URL

    Can any one help us on this?

    Many thanks, Phani

  • Paul Seal 524 posts 2889 karma points MVP 6x c-trib
    Jun 01, 2016 @ 10:11
    Paul Seal
    0

    Hi Phani You can use the image cropping functionality by hardcoding the querystring in the url yourself.

    It is very simple.

    src="/media/1234/image.jpg?width=600&height=300&mode=crop&anchor=center"
  • Phani 21 posts 70 karma points
    Jun 01, 2016 @ 10:19
    Phani
    0

    Hi Paul,

    Many thanks for the quick reply.

    I tried this one. But just trying to get the width and height values which we'll set in image cropper properties. So that we can't hard code these values in all the places.

    Many thanks,

    Phani

Please Sign in or register to post replies

Write your reply to:

Draft