Hi all,
I have the following problem:
I want to get the width and height of an image in my pagetemplate. The
thing is, it should be depending on a stored attribute. I would get
the stored attribute like this in a TALES expression:
image_size context/ImageSize;
where image size is in ["full", "large", "preview", "mini"].
I get the image like so (it's in a loop)
image python:images[0];
Now the thing is the following does not work!
image_width image/image_${image_size}/width;
How would I accomplish this?
Thanks!
_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers