Thursday 28 October 2010 12:13:59 am
Hi Raghu , Warm welcome to ez community. for image manipulation you can use GD or image magic. Try searcgin on ez forums about image magic . try to read this file ezdir/settings/image.ini.php file. Also read explore ezdir/settings/siteaccess/yourmobsite/image.ini.append.php An example to resize images are like below {attribute_view_gui attribute=$node.data_map.image image_class="mobile_handset"} /* configure the alias array in image.ini in your mobile site accesss */ AliasList[]=mobile_handset /* define the configuaration block *
[mobile_handset]
Reference=
Filters[]
Filters[]=geometry/scaledownonly=210;190 Filters[]=geometry/crop=200;180;0;0 so in above you wll see the the ezimage property scale into width, height 210px,190px. and crop the image to 200,180. u can define any properties that image magic support in your site access image.ini or global override. read on read on about ezp. Regards Romeo
|