<HTML>
<HEAD>
<TITLE>Re: [Seaside] [2.6]Images and anchors</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana"><SPAN STYLE='font-size:12.0px'>Hi Carl,<BR>
<BR>
I&#8217;ve found some solutions for this. The first is for relative paths. And the second for an absolute path for the image:<BR>
<BR>
Html anchorWithUrl: &#8216;<a href="http://www.amazon.com¹">http://www.amazon.com&#8217;</a> do: [html image: &#8216;/cartoon.jpg&#8217;]<BR>
<BR>
Html anchorWithUrl: &#8216;<a href="http://www.amazon.com¹">http://www.amazon.com&#8217;</a> do: [html image: &#8216;<a href="http://www.foo.com/cartoon.jpg¹]">http://www.foo.com/cartoon.jpg&#8217;]</a><BR>
<BR>
To get the image to serve relative paths I use the slug of code at the beginning of the David Shaffer tutorial that allows me to put images in a folder called FileRoot. <BR>
<BR>
Anyway, that&#8217;s my solution. I&#8217;d be happy to told that there&#8217;s a better way by someone on this list. <BR>
<BR>
Chris <BR>
<BR>
<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><SPAN STYLE='font-size:12.0px'><FONT FACE="Arial">What's the easiest way to use an image for an anchor? &nbsp;Is there a simple way to include an image spec like so between the start and end tags without subclassing or modifying what's there? &nbsp;I've poked around but nothing jumped out at me.<BR>
</FONT><FONT FACE="Verdana"> <BR>
</FONT><FONT FACE="Arial"> &nbsp;&lt;a blah blah&gt;&lt;img src=&quot;image.gif&quot;&gt;&lt;/a&gt;<BR>
</FONT><FONT FACE="Verdana"> <BR>
</FONT><FONT FACE="Arial">-Carl Gundel<BR>
<a href="http://www.runbasic.com">http://www.runbasic.com</a><BR>
</FONT><FONT FACE="Verdana"><BR>
</FONT></SPAN></BLOCKQUOTE>
</BODY>
</HTML>