[Zope] Use of the different displays with Imagemagick.
William GARCIA
wgarcia@esrf.fr
Mon, 06 May 2002 08:57:25 +0200
--=====================_521176750==_.ALT
Content-Type: text/plain; charset="us-ascii"; format=flowed
ImageMagick is installed on the server I work. When I create a Photo
product instance, if I see the properties of the image, several displays
have been generated.
I would like to display a thumbnail with :<dtml-var
expr="image(display='thumbnail')">
but Zope generated the next error :
Error Type: AttributeError
Error Value: __call__
Traceback (innermost last):
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
150, in publish_module
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
114, in publish
File /zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/Zope/__init__.py,
line 159, in zpublisher_exception_hook
(Object: test_photo_imagemagick)
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
98, in publish
File /zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py,
line 88, in mapply
(Object: testimagemagick)
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
39, in call_object
(Object: testimagemagick)
File /zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py,
line 127, in __call__
(Object: testimagemagick)
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__
(Object: testimagemagick)
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
line 159, in eval
(Object: image(display='thumbnail'))
(Info: image)
File <string>, line 2, in f
Thanks in advance for the help you can give to me.
William.
--=====================_521176750==_.ALT
Content-Type: text/html; charset="us-ascii"
<html>
ImageMagick is installed on the server I work. When I create a Photo
product instance, if I see the properties of the image, several displays
have been generated. <br>
I would like to display a thumbnail with :<dtml-var
expr="image(display='thumbnail')"> <br><br>
but Zope generated the next error :<br>
<b>Error Type: AttributeError<br>
Error Value: __call__<br><br>
</b>Traceback (innermost last):<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
150, in publish_module<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
114, in publish<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/Zope/__init__.py, line 159,
in zpublisher_exception_hook<br>
(Object: test_photo_imagemagick)<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
98, in publish<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/mapply.py, line
88, in mapply<br>
(Object: testimagemagick)<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/ZPublisher/Publish.py, line
39, in call_object<br>
(Object: testimagemagick)<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/OFS/DTMLMethod.py, line
127, in __call__<br>
(Object: testimagemagick)<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_String.py,
line 473, in __call__<br>
(Object: testimagemagick)<br>
File
/zope/Zope-2.5.0-solaris-2.6-sparc/lib/python/DocumentTemplate/DT_Util.py,
line 159, in eval<br>
(Object: image(display='thumbnail'))<br>
(Info: image)<br>
File <string>, line 2, in f<br><br>
Thanks in advance for the help you can give to me.<br>
William.<br>
</html>
--=====================_521176750==_.ALT--