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 135 posts 368 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 3074 posts 13632 karma points MVP 11x 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

Please Sign in or register to post replies

Write your reply to:

Draft