[Product-Developers] Image handling settings (plone.app.imaging): how to specify a name with white space?
Espen Moe-Nilssen
espen at medialog.no
Thu Feb 26 11:21:25 UTC 2009
I dont know the syntax, but I have done this with GenericPloneContent.
= You can install GenericPloneContent, edit the image and look at the
code it produces.
If you are really stuck, I can take a look at it (but not right
now.... trying to get more work..)
Den 29. okt. 2008 kl. 19.53 skrev Graham Perrin:
>
> <http://pypi.python.org/pypi/plone.app.imaging>
>
>> The required format is "<name> <width>:<height>"
>
> Please: how should I enter a name that includes white space?
>
> Traditionally, we have three such names; here are relevant comments
> from my
> buildout configuration file:
>
> # ${buildout:directory}/parts/plone/ATContentTypes/content/image.py
> #
> # sizes= {'CENTRIM maximum width' : (940, 475),
> # 'large' : (768, 768),
> # 'CENTRIM extended width' : (706, 475),
> # 'CENTRIM standard width' : (462, 462),
> # 'preview' : (400, 400),
> # 'mini' : (200, 200),
> # 'thumb' : (128, 128),
> # 'tile' : (64, 64),
> # 'icon' : (32, 32),
> # 'listing' : (16, 16),
> # },
>
> TIA
> Graham
> --
> View this message in context: http://n2.nabble.com/Image-handling-
> settings-%28plone.app.imaging%29%3A-how-to-specify-a-name-with-
> white-space--tp1394877p1394877.html
> Sent from the Product Developers mailing list archive at Nabble.com.
>
>
> _______________________________________________
> Product-Developers mailing list
> Product-Developers at lists.plone.org
> http://lists.plone.org/mailman/listinfo/product-developers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090226/2e967ce0/attachment.html>
More information about the Product-Developers
mailing list