Hi,<br>What imagePath is returning ? an URL or a standard local filename ?<br>In the first case that's work but in the second it won't. You can not add a local filename in the<br>source of your web page 'c:\...\picture.jpg' does not mean anything in a web page except if you are
<br>running on localhost.<br><br>You can create a virtual site web with visualwave or better creata a WAFileLibrary and add your picture in it. <br>After doing that you will be able to call your image using an URL<br>Tell me if you want more details.
<br><br><br><br><div><span class="gmail_quote">2007/10/23, Carl Gundel <<a href="mailto:carlg@libertybasic.com">carlg@libertybasic.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
>What's the easiest way to use an image for an anchor? Is there a simple<br>>way to include an image >spec like so between the start and end tags<br>>without subclassing or modifying what's there? I've >poked around but
<br>>nothing jumped out at me.<br>><br>> <a blah blah><img src="image.gif"></a><br><br>Oh that wasn't so hard. Don't know why it took me so long:<br><br> html anchor<br> with: [ html html: '<img src=''', self imagePath, '''>' ]
</blockquote><div><br>Try something like this instead.<br><br> html anchor<br> with: [ html image url: 'myurl' ]<br><br>hope this helps<br><br><br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-Carl Gundel<br><a href="http://www.runbasic.com">http://www.runbasic.com</a></blockquote><div><br><br>Sylvain <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br></blockquote></div><br>