How to display images in HTML views?

How to display images in HTML views?

Hi there!

I am creating a list of items with images.
The "summary" view is inadequate, so I am working on creating an HTML view that will nicely list the image and a few other fields for each entry.


How would you go about displaying images within HTML?


Here is my HTML/Deluge code:
  1. htmlpage testpage()
  2. <%{%>
  3. <%totrec = Illustrations.count();
  4.     for each r in Illustrations
  5.     {%>
  6.        <%=r.Name%> <%=r.Image%><br/> 
  7.     <%}
  8. }%>
Resulting in displaying the content of the "name" field correctly but giving a broken url image.
This is the HTML code: 
  1. "



  2. Test Image Title "
  3. <img src="/sharedBy/appLinkName/viewLinkName/fieldName/image/MyImageFilename.jpg" border="0">
  4. <br>

Looking like this:



Any ideas? :)

Best,
Dorian