where is the ImageImports repository?

Bakki Kudva bakki.kudva at gmail.com
Fri Oct 6 21:12:32 UTC 2006

Hi all,

I have been serving up images for Seaside via Apache. I just read
Avi's comment of Thu Sep 9 10 2004 on the thread called [Using image
tags in Seaside] saying...
"Anyway, there are basically two options:

- have the images hosted externally to Seaside, and use image tags with
external URLs:
	html image: 'http://imagehost.com/myimage.jpg' altText: 'My Image'

- suck the image data into your (Squeak) image, and serve it directly
from Seaside:
	html imageWithForm: (MyImages at: #someImage)

I prefer the second, from a deployment point of view, because you end
up with just one .image file to copy around.  It's also great for
dynamically generated images (use PlotMorph to generate live charts,
for example).  But having something like apache serving static images
can be a performance win."

What I am trying to figure out is how to get the images into a class
he calls MyImages. I tried using FileList which has an import button
which has balloon help which says "Load a graphic placing it in the
ImageImports repository.

I did the import and can't see where it is. Did a search for
ImageImports class but nada.

I would appreciate any help on how to import image files from the hard
drive and then define a class which would serve it. Thank you,


More information about the Squeak-dev mailing list