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!" ;-)
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.
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.
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?
This topic might help: http://our.umbraco.org/forum/developers/extending-umbraco/6863-Datatype-on-normal-page-or-UserControl
Also this wiki: http://our.umbraco.org/wiki/reference/code-snippets/use-mntp-on-a-usercontrol
Jeroen
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!" ;-)
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
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.
is working on a reply...