[Seaside] Integrating Images on a website. Don't want to use Apache or WAFileLibrary.

Torsten Bergmann astares at gmx.de
Wed Apr 23 20:30:09 UTC 2008


in general there are three ways:

 1. serve files using an external server/location (Apache)
 2. create a WAFileLibrary 
 3. let the Squeak webserver serve files from hard disk 

1. is not good for portability, 2. bloats the image - so 3. may be your 
option to choose.
You can do this either with an WAExternalFileLibrary implementation as Holger already explained or by serving the files directly using a file serving module for KomHttpServer:

For an example either have a look at "Webserver-tbn.4.mcz" in "www.squeaksource.com/DeveloperWorkspace" or read http://www.shaffer-consulting.com/david/Seaside/GettingSoftware/index.html

Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser

More information about the seaside mailing list