$result['paths']['original']['path'] = $result['url']; $result['paths']['original']['url'] = $config->upload_host . '/' . $result['paths']['original']['path']; $result['paths']['big']['path'] = $uploader->resizeImage($result['path'], array('width'=>640, 'height'=>480, 'square'=>false)); $result['paths']['big']['url'] = $config->upload_host . '/' . $result['paths']['big']['path']; $result['paths']['medium']['path'] = $uploader->resizeImage($result['path'], array('width'=>320, 'height'=>320, 'square'=>false)); $result['paths']['medium']['url'] = $config->upload_host . '/' . $result['paths']['medium']['path']; $result['paths']['normal']['path'] = $uploader->resizeImage($result['path'], array('width'=>256, 'height'=>256, 'square'=>false)); $result['paths']['normal']['url'] = $config->upload_host . '/' . $result['paths']['normal']['path']; $result['paths']['smaller']['path'] = $uploader->resizeImage($result['path'], array('width'=>180, 'height'=>180, 'square'=>true)); $result['paths']['smaller']['url'] = $config->upload_host . '/' . $result['paths']['smaller']['path']; $result['paths']['small']['path'] = $uploader->resizeImage($result['path'], array('width'=>64, 'height'=>64, 'square'=>true)); $result['paths']['small']['url'] = $config->upload_host . '/' . $result['paths']['small']['path']; $result['paths']['micro']['path'] = $uploader->resizeImage($result['path'], array('width'=>32, 'height'=>32, 'square'=>true)); $result['paths']['micro']['url'] = $config->upload_host . '/' . $result['paths']['micro']['path'];
Еще такой момент, на больших сайтах при разных дизайнах типов контента возникает неудобство вывода пагинации, хотелось бы как минимум настройку вывода количества записей на странице в пагинаторе для типа контента.