I have created a custom widget following primarily this post
. I took from that example the Page Selector and Image Selector only, and then added my own text field (for a title). I then changed the ImageField to use the GUID of the selected image instead of the url.
I did this by changing the line:
ImageSelector.DataFieldType = typeof(String);
ImageSelector.DataFieldType = typeof(Guid);
I am unsure what I am doing wrong, or what else I might need to change besides the line of code above to get this to work. Any help would be greatly appreciated.
Thank you for your time,