Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Sep 10, 2012 @ 16:05
    Biagio Paruolo
    0

    Crop Image datatype: How to access a cropped image ( added to Image media type )?

    Crop Image datatype: How to access a cropped image ( added to Image media type )?

  • Thomas Kahn 602 posts 506 karma points
    Sep 10, 2012 @ 16:15
    Thomas Kahn
    0

    Hi!

    I hope you saw my reply here.

    /Thomas

  • Biagio Paruolo 1618 posts 1910 karma points c-trib
    Sep 10, 2012 @ 17:28
    Biagio Paruolo
    0

    Thank, but I need info for Razor script.

  • Fuji Kusaka 2203 posts 4220 karma points
    Sep 11, 2012 @ 07:13
    Fuji Kusaka
    0

    Hi Biagio,

    You could do something like this to get the crop image in Razor

     @foreach(dynamic myImages in Images.Children)  {
     <img src="@(myImages.UmbracoFile.Replace(".jpg","_thumb.jpg"))"/> // _thumb being the crop image
     }
Please Sign in or register to post replies

Write your reply to:

Draft