[hunchentoot-devel] Displaying an image in the text content

Zach Beane xach at xach.com
Thu Feb 8 22:47:59 UTC 2007


On Thu, Feb 08, 2007 at 05:45:01PM -0500, Andrei Stebakov wrote:
> Going trough the test server code it's clear how to diplay an image based on
> a static handler or sending a raw image stream to the client. But how can
> show an image in context of a normal html page (surrounded by other text
> tags like <div> <table> etc)?

Add a handler for /path/to/image.jpg, and put <img
src="/path/to/image.jpg"> in the HTML?

Zach



More information about the Tbnl-devel mailing list