[mod_python] Image handling handler

Damjan gdamjan at mail.net.mk
Thu Sep 23 04:17:19 EDT 2004


> I'm probably missing something obvious here, but in the 'handle_thumb'
> and 'handle_size' class methods if the image is not cached (or is older)
> where is the method sending the image file back to the client? 
> It appears only to resize and cache the image not return it.

img.save(self.req, format=img.format)

I'm "saving" the image to the req object. mod_python's request object is
fine at emulating a file object.


-- 
damjan | дамјан
This is my jabber ID --> damjan at bagra.net.mk <-- not my mail address!!!


More information about the Mod_python mailing list