Sorry I wasn&#39;t clear. I don&#39;t recommend using the file libraries for deployment, you can use them during development then write the files contained within the file library out prior to deployment using:<div><br></div>
<div>MYFileLibrary default deployFiles.</div><div><br></div><div>These files can then be placed in a directory known to your font-end server such as Nginx and served by it. Of course their are plenty of other ways to develop such as using WAExternalFileLibrary found here: <span class="Apple-style-span" style="font-family:monospace;font-size:15px;white-space:pre"><a href="http://www.squeaksource.com/Seaside30LGPL">http://www.squeaksource.com/Seaside30LGPL</a>, </span> or simply placing your files on an external file server such as Amazon S3</div>
<div><br></div><div>Cheers</div><div><br></div><div>Nick </div><div><br></div><div><br><br><div class="gmail_quote">On 27 March 2012 16:10, Lawrence Kellogg <span dir="ltr">&lt;<a href="mailto:mac.hive@me.com">mac.hive@me.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div><div><div class="h5"><div>On Mar 27, 2012, at 11:00 AM, Nick Ager wrote:</div>
<br><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><div>  I am also struggling to understand why everything breaks. My nginx.conf file redirects to /var/www/glass for files that I refer to in my code, so I only put &#39;picture.jpg&#39; for an image, for instance, or &#39;bootstrap.css&#39;, and it all works great. Would you call that a relative path?</div>

<div><br></div><div>  If I put in that single addToPath line in updateUrl: </div><div><div><br></div><div><blockquote type="cite">updateUrl: aUrl<br></blockquote><blockquote type="cite"><span style="white-space:pre-wrap">        </span>super updateUrl: aUrl.</blockquote>

<blockquote type="cite"><span style="white-space:pre-wrap">        </span>aUrl addToPath: self class name</blockquote></div></div></div></div></blockquote><div><br></div><div>So in your render methods do you have code that looks like:</div>

<div><br></div><div>html image url:  &#39;picture.jpg&#39;.</div><div><br></div><div>If so the request url will be relative to page path, which you are modifying by adding the class name.</div><div>I&#39;d normally develop using a file library or external file library which would look like: </div>

<div><br></div><div>html image url:  MyFileLibrary / #pictureJpg.</div><div><br></div><div>this generates html as: &lt;img src=&#39;/files/MyFileLibrary/picture.jpg&#39;&gt;</div><div><br></div><div>which is always absolute from the root.</div>

<div><br></div></div></blockquote><div><br></div></div></div><div>  Yes, I have html image tags as you describe. I have been told not to use the FileLibrary class for things like CSS, etc, because it gets cached somewhere where it shouldn&#39;t, </div>
<div>but I am forgetting the exact reason now. So, I don&#39;t use the FileLibrary for anything, in deployment, and I&#39;m talking about my deployed system here. This code works correctly in my local system that uses a FileLibrary. </div>
<div class="im"><br><blockquote type="cite"><div class="gmail_quote"><div>Have a look with the developer tools (firebug etc) to see what the request path is</div><div><br></div></div></blockquote><div><br></div></div><div>
  Thanks...</div><div class="im"><div><br></div><div>  Larry</div><br><blockquote type="cite"><div class="gmail_quote"><div>Cheers</div><div><br></div><div>Nick</div></div>
_______________________________________________<br>seaside mailing list<br><a href="mailto:seaside@lists.squeakfoundation.org" target="_blank">seaside@lists.squeakfoundation.org</a><br><a href="http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
</blockquote></div></div><br></div><br>_______________________________________________<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" target="_blank">http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside</a><br>
<br></blockquote></div><br></div>