-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi there,

I have the following usecase:

 - an ATImage derived image class contains a field "imageClass"
 - for a certain value of 'imageClass' the uploaded original image
   must be scaled up or down to _fixed width of 500px_ (independent
   of the image ratio) for all cases.

I came to the point where I am able to set the 'max_size' and
'original_size' parameter for individual instances of my image class
implementation. Scaling an image down to 500px width works so far
for image where width>height but not if height>width. Also upscaling
does not seem to be support by rescaleOriginal() implementation
of ImageField. Any hint if this problem can be solved with a custom
parameters for 'max_size' and/or 'original_size'
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkl5kNMACgkQCJIWIbr9KYxRCACeKRywyArTKkABQxz4g8e/BckD
XaoAoNwFqdgLp/QAO3kKG1UvNVtC2lcf
=DsFt
-----END PGP SIGNATURE-----
begin:vcard
fn:Andreas Jung
n:Jung;Andreas
org:ZOPYX Ltd. & Co. KG
adr;quoted-printable:;;Charlottenstr. 37/1;T=C3=BCbingen;;72070;Germany
email;internet:[email protected]
title:CEO
tel;work:+49-7071-793376
tel;fax:+49-7071-7936840
tel;home:+49-7071-793257
x-mozilla-html:FALSE
url:www.zopyx.com
version:2.1
end:vcard

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to