[Seaside] One(?) more way to serve an image -- comments requested

Bany, Michel mbany at cincom.com
Wed Jun 7 16:22:24 UTC 2006

> >You may want to have control on the actual image encoding when the 
> >image is supplied as a Form. Currently, a Form is always 
> served as GIF.
> >  
> >
> Good point.
> In the VW port is their an internal bitmap representation 
> that you use? 
> Maybe those will require some support as well.

As far as I know, there is only support for GIF in VisualWorks.
Time to extend that ?
> >You may also want to supply the file name in the response.
> >
> Is the only reason for this so that the browser will respond 
> with a reasonable name for "save image" type operations?

That's one reason. I'm actually only looking for completeness.

In the 2.6b1 branch, there is

html image fileName: 'someName.whatever' mimeType: 'image/whatever'
document: someFormOrByteArray

that matches a similar method in the classic renderer.


More information about the Seaside mailing list