[self-interest] How do I retreive a picture from an URL

Chris Double chris.double at double.co.nz
Wed Mar 2 09:37:03 UTC 2011


On Wed, Mar 2, 2011 at 10:24 PM,  <tb at tcltalk.ath.cx> wrote:
> I found parseGIF in "webBrowser htmParser", but it works on a sibling
> slot instead taking an URL as an argument.
>
> Any suggestions, how to decompose this?

Have a look at the slots of the object returned by:

'http://www.cs.ucsb.edu/~urs/oocsb/self/release/smalltalk.gif' asUrl

If you have a webpage you can display it for example with:

'http://www.bluishcoder.co.nz/self/imagetest.html' asURL getPageForUser

I have a screencast here going through some of this:

http://www.bluishcoder.co.nz/2009/07/27/displaying-images-with-self.html

Chris.
-- 
http://www.bluishcoder.co.nz



More information about the Self-interest mailing list