Forums / Setup & design / $border_size variable / Comment24764
Betsy Gamrat
Thursday 12 July 2007 9:05:40 am
Paul,
Use this command:
grep -r "border_size" *
One of the files is:
design/standard/templates/content/datatype/view/ezimage.tpl
{* ... (other comments here) ... border_size - Size of border around image, default is 0 *} {default ... (other variables here) ... border_size=0}
When you call attribute_view_gui for the image, you can override the default border_size as follows:
{attribute_view_gui attribute=$node.data_map.image border_size=4}
Where <b>4</b> could be any value.