Re: [Zope] A better version of the Image object?
How are Zopers dealing with providing images at various resolutions? I started off creating a separate folder for each image, the folder containing
It would be much nicer if the image object could render itself at various resolutions. That is, you upload 1 high-res version and can obtain lower res versions when calling the render method. Being new to Zope, is it possible to sub-class the base objects and have them generally available?
This would be doable, however when I was thinking about this in a slightly different context, I was worried about the Python GIL, so you would probably want to push this into a C extension so you could release the lock completely and do your work, then grab it, return it. This would allow the server to run smoothly. Otherwise, if it takes any time, you're going to see jerkiness in your server. Chris -- | Christopher Petrilli Python Powered Digital Creations, Inc. | petrilli@digicool.com http://www.digicool.com
participants (1)
-
Christopher Petrilli