I saw caution "Image processing functions are deprecated..." in Products module and started to use CGSmartImage module.
Great image processing module.
But I have problems with setting maximum width or height of re-sized photo...
Code: Select all
{capture assign=artwork}{$entry->file_location}/{$entry->fields.artwork->value}{/capture}
{CGSmartImage src=$artwork filter_resizetofit="100,100"}
{CGSmartImage src=$artwork filter_resize="w,100" filter_resize="h,100"}
{CGSmartImage src=$artwork width="100" height="100"}
{cgsi_convert max_width="100" max_height="100"}{CGSmartImage src=$artwork}{/cgsi_convert}
McF