[Seaside] Re: Uploading an Image

dirk newbold dirkdirk at gmail.com
Fri Apr 20 09:52:23 UTC 2007


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.

I just can't figure out how to do it in Seaside.  I have been fine with all
the other facits of converting my html files into Seaside but for some
reason I can't figure this out - I'm affraid I'm just a beginner in
Smalltalk/Seaside.

Cheers,

Dirk


On 4/20/07, Philippe Marschall <philippe.marschall at gmail.com> wrote:
>
> Hi
>
> I have a bit of a problem understanding what you want to do. Do you
> want to upload an image, or to serve an image?
>
> Cheers
> Philippe
>
> 2007/4/19, dirk newbold <dirkdirk at gmail.com>:
> > Avi,
> >
> > Is this the process to post on the list i.e. emailing
> >   seaside at lists.squeakfoundation.org ?
> >
> > Question is attached below.
> >
> > Does the list get emailed or do I need to login somewhere for it.
> >
> > Thanks for your help?
> >
> > Cheers,
> >
> > Dirk
> >
> >
> > On 4/19/07, Avi Bryant <avi at dabbledb.com> wrote:
> > > Hi Dirk,
> > >
> > > These are great questions for the seaside list - you can sign up at
> > > http://lists.squeakfoundation.org/ .
> > >
> > > Cheers,
> > > Avi
> > >
> > > On 4/19/07, dirk newbold < dirkdirk at gmail.com> wrote:
> > > >
> > > > I feel a bit stupid but I've done all the tutorials on the net and
> still
> > > > can't upload an image from a default directory on my server.
> > > >
> > > > In html I'd use:
> > > >
> > > > <img src="img/memberMail.gif" alt="Email Member"/>
> > > >
> > > > But I can't seem to get the following to work:
> > > >
> > > > html image: 'img/memberMail.gif' altText: 'Email Member'.
> > > >
> > > > I've tried locating the gif in lost of directories including my
> servers
> > > > default:
> > > >
> > > > $(VISUALWORKS)/web/examples
> > > >
> > > > If you could set me straight I'd be very appreciative.
> > > >
> > > > Also are there any books on web programming in Smalltalk/Seaside
> > published.
> > > > I've looked every where and can't find one.
> > > >
> > > > Cheers,
> > > >
> > > > Dirk
> > > >
> > >
> >
> >
> > _______________________________________________
> > Seaside mailing list
> > Seaside at lists.squeakfoundation.org
> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
> >
> >
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside/attachments/20070420/adc9e2bd/attachment.htm


More information about the seaside mailing list