Thursday 29 January 2004 2:07:06 pm
How I add/change images sizes in eZ 3.3.2. copy/paste the following code from settings/image.ini into settings/override/image.ini.append.php
AliasSettings[]
AliasList[]
AliasList[]=reference
AliasList[]=small
AliasList[]=medium
AliasList[]=large
AliasList[]=thumb AliasList[]=rss
[reference]
Filters[] Filters[]=geometry/scaledownonly=600;600
[small]
Reference=reference Filters[]=geometry/scaledownonly=100;100
[medium]
Reference=reference Filters[]=geometry/scaledownonly=200;200
[large]
Reference=reference Filters[]=geometry/scaledownonly=300;300
[thumb]
Reference=reference Filters[]=geometry/scaledownonly=50;50
[rss]
Reference=reference Filters[]=geometry/scale=88;31 this overrides the default specification, by adding a 'thumb' size specification then you can see the image, using <object id="XX" size="thumb" /> inside an xmlText field in order to see the image, which is embedded in the xmlText, I had to override the template content/view/embed.tpl, using the code found in content/datatype/view/ezmedia.tpl it worked, and actually I managed to have also flash objects embedded this way still, I don't know how to see the thumb image using attribute_view_gui,
hope the rest works anyway Guglielmo
|