[Zope-CMF] ImageMagick/CMFPhoto no resizing happens
Magnus Heino
magnus.heino at home.se
Mon Oct 6 01:50:29 EDT 2003
> I have imagemagick installed on my windows server. I have cmfphoto and
> cmfphotoalbum installed on my plone 1.0.3 site. The cmfphotoalbum will not
> display thumbnails. I get dead graphic links on the page. if I click on
> them, the original sized image is loaded.
>
> on the windows box, on the command line I can run convert.exe from the c
> prompt.
CMFPhoto does this in windows to resize images with imagemagick:
from win32pipe import popen2
imgin, imgout = popen2('convert -quality %s -geometry %sx%s - -'
% (quality, width, height), 'b')
try to do the same thing from a python prompt using the same python as zope
use.
--
/Magnus
More information about the Zope-CMF
mailing list