<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><DIV>Hi Dirk,</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Assuming that</DIV><DIV>(1) you have a standard Seaside install, as you said,</DIV><DIV>(2) you have a file named 'memberMail.gif' in folder c:\Program Files\Cincom\vw7.4.1nc\web\examples\</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Then</DIV><DIV>(a) you should be able to see you picture when pointing your browser to</DIV><DIV><A href="http://localhost:8008/memberMail.gif">http://localhost:8008/memberMail.gif</A></DIV><DIV>(b) you should also see it at</DIV><DIV><A href="http://localhost:8008/seaside/memberMail.gif">http://localhost:8008/seaside/memberMail.gif</A></DIV><DIV>(c) you should also see it as part of a Seaside component if the rendering code contains</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>html image: '../memberMail.gif'</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Regarding the configuration of the sites, you would need to read the WebToolkit documentation.</DIV><DIV>This is a pdf document named 'WebAppDevGuide.pdf' and located in the doc folder.</DIV><DIV>The document explains how to sites are defined using *.ini files in the web folder.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You will then notice that the 'seaside' site is not defined using an *.ini file.</DIV><DIV>Instead it is created programmatically during the installation of Seaside to minimize the amount of setup for beginners.</DIV><DIV>It is also recreated each time you bring up your VW image.</DIV><DIV>The code that creates the 'seaside' site can be found in method AAADocumentation&gt;&gt;createWebSite.</DIV><DIV>In this method you will notice this statement</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>configParameters at: 'directory' put: default directoryName.</DIV><DIV>which means the the home directory of the 'seaside' site is the same as the home directory of the 'default' site.</DIV><DIV>See in 'default-site.ini' directory = $(VISUALWORKS)/web/examples</DIV><DIV>This remark should explain (b) above.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>An advanced Seaside user will probably setup Seaside sites using the *.ini files.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>To define a Seaside site using an *.ini file, you will need to create a new file, say 'mySite.ini'</DIV><DIV>with some contents like this</DIV><DIV>[configuration]</DIV><DIV>directory = D:/mySite</DIV><DIV>environment = MyNameSpace</DIV><DIV>description = My Seaside site</DIV><DIV>home = startpage.html</DIV><DIV>[logical-names]</DIV><DIV>app = servlet/SeasideServlet</DIV><DIV>Next you will need to update the 'webtools.ini' file to include that line</DIV><DIV>mySite = mySite.ini</DIV><DIV>Finally, you will need to force WebToolkit to reread its config files by going to</DIV><DIV><A href="http://localhost:8008/configure/manageServer">http://localhost:8008/configure/manageServer</A></DIV><DIV>and follow the instructions, or go directly to</DIV><DIV><A href="http://localhost:8008/configure/resetConfiguration">http://localhost:8008/configure/resetConfiguration</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Place your static files in the folder defined in the mySite.ini file (directory =)</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Once this is done you can go to you site using</DIV><DIV><A href="http://localhost:8008/mySite">http://localhost:8008/mySite</A></DIV><DIV>or</DIV><DIV><A href="http://localhost:8008/mySite/app/browse">http://localhost:8008/mySite/app/browse</A></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Let me know if this helps,</DIV><DIV>Michel.</DIV><BR><DIV><BLOCKQUOTE type="cite">I posted the question below last week and although I had may tips (a lot went over my head) I am still unable to display an image in a webpage generated by Seaside.  <BR><BR>I have tried all sorts of variations on the 'image' method but still can't get the method to find the image <SPAN style="font-weight: bold;">"Which dir do I place the Image?"</SPAN> - I have been able, through the 'style sheets' to get the height, width and a border around where the image should be but I am just left with the old 'red cross' icon.  <BR><BR>I am using Cincom Visual Works 7.4.1nc with the 'SeasideForWebToolKit', 'VisualWave' and 'WebToolkits' parcels loaded.  <BR><BR>When I investigated the server created by VW: <A href="http://localhost:8008"> http://localhost:8008</A> and went to the configuration page for 'seaside' the Home Directory :$(VISUALWORKS)/web/examples, was displayed which through me off track for a while as Seaside must really be overriding this path as when, just by coincidence I pressed the submit button the $(VISUALWORKS)/web/examples actually became the Home Directory (and was actually able to pick files up from there) but then none of the Seaside webpages would load and I had to reinstall a previous VW Image. <BR><BR>Could someone please set me straight as I am so frustrated?<BR><BR>Original Post:<BR><BR><SPAN style="font-style: italic; font-weight: bold;">I am just trying to display an image in a webpage. Originally it was generated by a html file but now in Seaside (renderContentOn: html). </SPAN><BR style="font-style: italic; font-weight: bold;"> <BR style="font-style: italic; font-weight: bold;"><SPAN style="font-style: italic; font-weight: bold;">e.g. the image is located at:</SPAN><BR style="font-style: italic; font-weight: bold;"><SPAN style="font-style: italic; font-weight: bold;"> c:\Program Files\Cincom\vw7.4.1nc\web</SPAN><DIV><SPAN style="font-style: italic; font-weight: bold;">\examples</SPAN><BR style="font-style: italic; font-weight: bold;"> <BR style="font-style: italic; font-weight: bold;"><SPAN style="font-style: italic; font-weight: bold;">With html and having the image located in the same dir as the html file I used:</SPAN><BR style="font-style: italic; font-weight: bold;"> <SPAN style="font-style: italic; font-weight: bold;">&lt;img src="memberMail.gif" alt="Email Member"/&gt; </SPAN><BR style="font-style: italic; font-weight: bold;"><SPAN style="font-style: italic; font-weight: bold;">Which displayed the image in web page generated by that html file.</SPAN><BR style="font-style: italic; font-weight: bold;"> <BR style="font-style: italic; font-weight: bold;"><SPAN style="font-style: italic; font-weight: bold;">I just can't figure out how to do it in Seaside.  I have been fine with all the other facets of converting my html files into Seaside but for some reason I can't figure this out - I'm afraid I'm just a beginner in Smalltalk/Seaside. </SPAN><BR style="font-style: italic; font-weight: bold;"><BR>Cheers,<BR><SPAN><BR>Dirk</SPAN></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Seaside mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Seaside@lists.squeakfoundation.org">Seaside@lists.squeakfoundation.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</A></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>