Copied to clipboard

Flag this post as spam?

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


  • Tom 713 posts 954 karma points
    Oct 18, 2010 @ 03:37
    Tom
    0

    Custom Media Type - Small Image/Large Image

    Hi All,

    I wanted to have a custom media type with 2 tabs one for the small image, one for the large image + a descriptor for the media type..

     

    just wondering if i was to do this in a custom media type how then would that affect

    • umbracoWidth
    • umbracoHeight
    • umbracoBytes
    • umbracoExtension
    • for each tab as i couldn't have the same property names on each tab could I?

  • Rik Helsen 670 posts 873 karma points
    Oct 18, 2010 @ 10:46
    Rik Helsen
    0

    Why not simply upload the large image, and use a rescaling tool like imageGen to resize the images for you?

    Alternatively, you could look into the imagecropper datatype, although it is a big buggy

  • Tom Maton 387 posts 660 karma points
    Oct 18, 2010 @ 13:53
    Tom Maton
    1

    By default Umbraco does create a thumbnail of the image you have uploaded.

    You can do this and also create multiple version by going to the upload datatype under developer and insert 100;250;400

    This will then upload the image and create 3 additional versions to the above mentioned sizes.

    --Credit comes from Doug after showing this at the UmbUKFest :)

Please Sign in or register to post replies

Write your reply to:

Draft