[Zope] Using PIL 'inside' Zope

Jamie Bullock jamie at postlude.co.uk
Sun Jun 4 15:19:15 EDT 2006


Hi,

Does anyone know of a way to use the PIL imaging library within a Zope instance. If i do

from PIL import Image

I get

  Module AccessControl.ZopeGuards, line 284, in guarded_import
ImportError: import of "Image" from "PIL" is unauthorized. You are not allowed to access 'Image' in this context

Anyway to change this restriction? Is it advisable to change it?


PIL works fine when using it via an external method, but this is a bit cumbersome for what I need to do.

Advice appreciated.

Jamie


More information about the Zope mailing list