[Zope] a win for structured text

Mike Renfro renfro@tntech.edu
Fri, 24 May 2002 08:25:57 -0500


On Fri, May 24, 2002 at 03:05:24PM +0200, Tom Deprez wrote:

> I need to allow them to put the width and height of the image on the stx
> form to show the images smaller.
> Did somebody already programmed this?

Please don't, unless all your users will be on a LAN with the image
server. If these are the usual multi-million-pixel
lossless-compression radiology images, they'll kill your bandwidth and
render painfully slowly. See if you can modify STX to generate image
tags similar to the following:

<img src="path/to/object?display=small">

and then use Ron Bickers' Photo product that can automatically
generate thumbnails of various sizes. It looks like you can use the
Photo product with images stored on the filesystem with ExtImage, too.

-- 
Mike Renfro  / R&D Engineer, Center for Manufacturing Research,
931 372-3601 / Tennessee Technological University -- renfro@tntech.edu