[Seaside] Re: Uploading an Image

Michel Bany michel.bany at gmail.com
Fri Apr 20 11:12:08 UTC 2007

On 20 Apr 2007, at 12:37 , John Thornborrow wrote:

> dirk newbold wrote:
>> Sorry,
>> Just to display an image in a webpage originally generated by a html
>> file but now in Seaside (renderContentOn: html).
>> e.g. the image is located at:
>> c:\Program Files\Cincom\vw7.4.1nc\web\examples
>> With html and having the image located in the same dir as the html
>> file I used:
>> <img src="memberMail.gif" alt="Email Member"/>
>> Which displayed the image in web page generated by that html file.

This should work

	html image url: '../memberMail.gif'

Note that this only works because you placed your image in this  
specific directory.
In any event, John's suggestion (i.e. keeping your app graphics in  
your VW image) is probably the most appropriate.

> Hi,
> I recently learned about this myself  - have a look at the  
> WAFileLibrary
> class, and the example class WAFileLibraryDemo and  
> WAFileLibraryExample.
> HTH,
> John.

More information about the seaside mailing list