Avi,
Is this the process to post on the list i.e. emailing [hidden email] ? 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 <[hidden email]> wrote: Hi Dirk, _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 <[hidden email]>: > Avi, > > Is this the process to post on the list i.e. emailing > [hidden email] ? > > 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 <[hidden email]> 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 < [hidden email]> 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 > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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 <[hidden email]> wrote:
Hi _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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. > > 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* <[hidden email] > <mailto:[hidden email]>> 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 <[hidden email] > <mailto:[hidden email]>>: > > Avi, > > > > Is this the process to post on the list i.e. emailing > > [hidden email] > <mailto:[hidden email]> ? > > > > 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 <[hidden email] > <mailto:[hidden email]>> 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 < [hidden email] > <mailto:[hidden email]>> 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 > > [hidden email] > <mailto:[hidden email]> > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > Seaside mailing list > [hidden email] > <mailto:[hidden email]> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > Click here > <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> > to report this email as spam. > > ------------------------------------------------------------------------ > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > I recently learned about this myself - have a look at the WAFileLibrary class, and the example class WAFileLibraryDemo and WAFileLibraryExample. HTH, John. www.pinesoft.co.uk _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
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. Enjoy, Michel. > Hi, > > I recently learned about this myself - have a look at the > WAFileLibrary > class, and the example class WAFileLibraryDemo and > WAFileLibraryExample. > > HTH, > John. > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by dirk newbold
well just to give another suggestion: > _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Peter Osburg wrote:
> well just to give another suggestion: > i don't feel well with adding all needed pictures to the image > especially when creating a webproject and using hundreds of several > > pictures. therefore i would advice to use a static folder on your > webspace and referencing to the images just by using the url. > > think of seasidehosting.st <http://seasidehosting.st>! they provide you with a folder for your image and > > also an resources folder for all the static stuff. you also do very well with > that solution. > > regards > Peter > > Michel Bany schrieb: > >> >> > >> > 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. >> >> > Enjoy, >> > Michel. >> > >> > >> >> > >> >>> >> Hi, >>> >> >>> >> I recently learned about this myself - have a look at the WAFileLibrary >>> >>> >> class, and the example class WAFileLibraryDemo and WAFileLibraryExample. >>> >> >>> >> >>> HTH, >>> >> John. >>> >> >>> >> > >> > _______________________________________________ >> > Seaside mailing list >> >> > [hidden email] >> > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > >> > > > > Click here > <https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg==> > to report this email as spam. > > ------------------------------------------------------------------------ > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > of what I have in my WAFileLibrary subclass: logoGif | stream content | stream _ StandardFileReader new open: 'c:\somepath\logo.gif' forWrite: false. content _ stream contents. stream close. ^content _______________________________________________ Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Peter Osburg-2
Right, FileLibrary is not one size fits all. It was created with Pier
and the Scriptaculous demo in mind. It's biggest advantage is that it packs code together with resources (enables Monticello to version files). It's biggest disadvantage is that it's not suited for large binary files. If you can use Apache to serve stuff, by all means do it. If you're too lazy to set up Apache and rewrite rules, you might want to have a look at file library. Cheers Philippe 2007/4/20, Peter Osburg <[hidden email]>: > > well just to give another suggestion: > i don't feel well with adding all needed pictures to the image > especially when creating a webproject and using hundreds of several > > pictures. therefore i would advice to use a static folder on your > webspace and referencing to the images just by using the url. > > think of seasidehosting.st! they provide you with a folder for your image > and > > also an resources folder for all the static stuff. you also do very well > with > that solution. > > regards > Peter > > Michel Bany schrieb: > > > > > > > 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. > > > Enjoy, > > Michel. > > > > > > > > > >> Hi, > >> > >> I recently learned about this myself - have a look at the WAFileLibrary > > >> class, and the example class WAFileLibraryDemo and WAFileLibraryExample. > >> > >> > HTH, > >> John. > >> > > > > > _______________________________________________ > > Seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > > > _______________________________________________ > Seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > Seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |