I have a custom module that has a couple of image fields in it. I'm able to get the images perfectly fine from a code behind, but it's another story when I'm trying to do it in a widget template.
Is there an easy way to use images in a widget template? Should I be using one of your controls to do the job?
This is all I was able to figure out; it isn't pretty, and it actually only gives me the .tmb file.
<img alt='<%# Eval("Title")%>' src='<%# ((Telerik.Sitefinity.Model.ContentLinks.ContentLink)Eval("MainImage")).LastOrDefault().ChildItemAdditionalInfo %>' />