Copied to clipboard

Flag this post as spam?

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


  • Robin Hansen 117 posts 248 karma points
    Jun 08, 2015 @ 14:31
    Robin Hansen
    0

    Auto generated Thumbnail on Imagecrooper

    Can I define a custom size for auto generated thumbnails on the Image Cropper as I can on the Upload Datatype...? - if so, how...?

    Right now I've 2 x thumbnails generated: width 500px and width 100px

    - I would like to also have 150px and 160px wide thumbnails... :|

  • Jeavon Leopold 3008 posts 13221 karma points MVP 7x admin c-trib
    Jun 08, 2015 @ 17:37
    Jeavon Leopold
    0

    Hi Robin,

    You don't need to as you can request any size of image using the GetCropUrl method.

    e.g. <img src='@Model.Content.GetCropUrl(width:150)'/> or <img src='@Model.Content.GetCropUrl(width:160)'/>

    Jeavon

  • 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