Copied to clipboard

Flag this post as spam?

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


  • Paul Griffiths 358 posts 998 karma points
    Feb 19, 2014 @ 16:45
    Paul Griffiths
    0

    Using the media thumbnial

    Hello again,

    So using the following line of code I have managed to pull back an image that has been uploaded via a user control and display it.

    imgCurrentImage.ImageUrl = currentPage.GetProperty("Image").Value;
    

    I would much prefer to use the auto generated thumbnail that is created when an image is uploaded in umbraco but Im struggling to achieve this. I have tried this but cant get it working

    imgCurrentVenueImage.ImageUrl = currentPage.GetProperty("venueImage").Value.Split(.) + "_thumb";
    

    Does any one have any idea?

    Thanks

    Paul

  • 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