Re: Help with Seaside - put an image into a table cell
Jupiter Jones <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.seaside |
|---|---|
| Message-ID | <[email protected]> |
I’m not sure if this is what you are asking, however… html tableData with: [ self showImageFor: anId using: html ] …should display the image in the table cell. > On 1 Apr 2019, at 7:14 am, David Pennington <[email protected]> wrote: > > Hi everyone. I am trying to present a list of objects using VisualAge Seaside. I am putting them into tables but I want the first cell of the row to be an image coming from a url. I can't seem to work out the message to send. > > I am using html tableData: aString to fill each cell. > > At the moment |I have the following method that I wrote before I realised the problem so this doesn't work. > > showImageFor: anID using: html > > html image width: 200; url: PSIni getImageURL, '/', anID printString, '.jpg' > > PSIni getImageURL gets the image URL path from the ini file. > > An example of the image url being constructed is http://www.totallyobjects.com/images/pennstadt/15.jpg > > Can anyone help me with this? > > -------------------------------------------------- > Message sent using Winmail Mail Server > _______________________________________________ > seaside mailing list > [email protected] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [email protected] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside