Oh, for a multiple number of images I can use create-folder-dispatcher-and-handler! Looks really neat!<br><br>Thank you,<br>Andrew<br><br><div><span class="gmail_quote">On 2/8/07, <b class="gmail_sendername">Andrei Stebakov
</b> <<a href="mailto:lispercat@gmail.com">lispercat@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thank you, it works. Only the /path/to/image.jpg should always start with a path to your lisp server (like "/hunchentoot/test") otherwise the handler won't work. So, does it mean that if you have a number of images that you want to display you need to create-static-file-dispatcher-and-handler for each of them?
<br><br>Thank you,<br>Andrew<div><span class="e" id="q_110a3a1d6f113e6a_1"><br><br><div><span class="gmail_quote">On 2/8/07, <b class="gmail_sendername">Zach Beane</b> <<a href="mailto:xach@xach.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
xach@xach.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thu, Feb 08, 2007 at 05:45:01PM -0500, Andrei Stebakov wrote:<br>> Going trough the test server code it's clear how to diplay an image based on<br>> a static handler or sending a raw image stream to the client. But how can
<br>> show an image in context of a normal html page (surrounded by other text<br>> tags like <div> <table> etc)?<br><br>Add a handler for /path/to/image.jpg, and put <img<br>src="/path/to/image.jpg"> in the HTML?
<br><br>Zach<br>_______________________________________________<br>tbnl-devel site list<br><a href="mailto:tbnl-devel@common-lisp.net" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">tbnl-devel@common-lisp.net
</a><br><a href="http://common-lisp.net/mailman/listinfo/tbnl-devel" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://common-lisp.net/mailman/listinfo/tbnl-devel</a><br></blockquote></div><br>
</span></div></blockquote></div><br>