Changing the preview size of an Archetypes 'image' widget

by Matt Sital-Singh on Oct 24, 2008
Filed Under:

If you are using an 'Image' field, and want to control the size of the image that base_edit or base_view will show, then you can do the following:

1. Define a 'preview' scale in your 'sizes' property on the widget ('sizes' tagged value in ArgoUML). The image widget uses this scale (if available) by default.

2. Set the 'preview_scale' property on the widget ('preview_scale' tagged value in ArgoUML) to an existing scale/size name. The image widget will then use this scale instead.

Filed under: , ,
Alex
Alex says:
May 11, 2009 04:18 PM

Don't work. I am using arcggenxml 2.4.1 and Plone 3.1

Commenting has now closed on this post.

Follow us

— via Twitter

Is proudly sponsoring #BlueLightCamp today. If you want to come talk Open Source content management @HammerToe is there #blcamp
last month