[Zope] Re: Resizing Images In Page Templates

Stefan Bund stefan at j32.de
Mon Mar 5 02:40:18 EST 2007


Maciej Wisniowski <maciej.wisniowski at coig.katowice.pl> writes:
>> <img src="myimage.jpg/resize" />
> OK, I thinked again about this. This may work :)
> You may have object with id 'myimage.jpg' with resize
> method, and it may be referenced this 'hardcoced' way.

Or there exists another object named 'resize' which can be acquired
this way. That's how I have done this sometimes (e.g. resize is a
python script which expects to be called with an image or file object
as it's context)

stefan.



More information about the Zope mailing list