Copied to clipboard

Flag this post as spam?

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


  • Gordon Saxby 1461 posts 1883 karma points
    Jun 12, 2012 @ 11:11
    Gordon Saxby
    0

    Use Umbraco Datatype in my User Control

    In general, is this possible? More specifically I would like to use the Image Cropper including the pre-defined crops that I would setup in Umbraco.

    Is the source code available for the Image Cropper datatype?

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jun 12, 2012 @ 11:17
  • Gordon Saxby 1461 posts 1883 karma points
    Jun 12, 2012 @ 11:29
    Gordon Saxby
    0

    The wiki looks useful - my problem is that I need to quote a client for the work, which is difficult when I don't even know if it's possible!! Might have to be "think of a number and double it!" ;-)

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Jun 12, 2012 @ 11:35
    Jeroen Breuer
    0

    Well I've even been able to use the Rich Text Editor datatype on a UserControl so the Image Cropper should also be possible, but if you don't have any experience with this yet it could be a bit difficult.

    Jeroen

  • Gordon Saxby 1461 posts 1883 karma points
    Jun 12, 2012 @ 11:54
    Gordon Saxby
    0

    Can you post just the basics of how you did that? How do you reference the DataType, how do you get it onto the page (user control), how do you access the data (populate, store).

    I would need to allow the user to select an image and then present it as the image cropper does in the Media Library, including the list of defined crops. Of course, I would then need to "save" the crops - which would cause the cropped images to be created.

     

Please Sign in or register to post replies

Write your reply to:

Draft