Copied to clipboard

Flag this post as spam?

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


  • Nathan Reece 62 posts 376 karma points
    Jul 15, 2020 @ 10:30
    Nathan Reece
    0

    How do i get the Image Cropper working in Umbraco 8

    To anyone who can help me!,

    Can any one help me I'm trying to add a cropped image to my site. But when I choose the image cropper editor and try reference it in my View Code its not working.

    Right now the image not cropped doesn't look good and i cant seem to get the cropper working.

    T.I.A

  • David Armitage 510 posts 2081 karma points
    Jul 15, 2020 @ 10:37
    David Armitage
    100

    Hi Nathan,

    The there is an image cropper built into Umbraco and used on a standard image datatype.

    I am guessing you have tried to add the image cropper datatype to doc type.

    What I do which I think works really well is...

    1. Add a standard image picker to your doc type.

    2. Then go to setting, media types, and then select the image media type.

    3. Click on the settings of the Upload Image property.

    4. Then click on the settings of the image cropper.

    5. Here you can configure your crop sizes.

    Then when you render the image in the front-end on your template you do this slightly differently.

    There is some more information here that you will find useful. https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/image-cropper/

    enter image description here

  • Nathan Reece 62 posts 376 karma points
    Jul 15, 2020 @ 11:04
    Nathan Reece
    0

    Wow that's great!!!!

    I configured so many different image croppers this way and managed to get the images perfect sizes on every page on my website

    You helped out more than I was expecting.

    Thankyou :)

  • Nathan Reece 62 posts 376 karma points
    Jul 15, 2020 @ 11:04
    Nathan Reece
    0

    Wow that's great!!!!

    I configured so many different image croppers this way and managed to get the images perfect sizes on every page on my website

    You helped out more than I was expecting.

    Thankyou :)

Please Sign in or register to post replies

Write your reply to:

Draft