diff --git a/common/components/artboximage/ArtboxImageHelper.php b/common/components/artboximage/ArtboxImageHelper.php index fada295..021ba77 100644 --- a/common/components/artboximage/ArtboxImageHelper.php +++ b/common/components/artboximage/ArtboxImageHelper.php @@ -87,6 +87,9 @@ class ArtboxImageHelper extends Object { case 'resize': $image->resize($data['width'], $data['height'], @$data['master']); break; + case 'crop': + $image->crop($data['width'], $data['height'], @$data['offset_x'], @$data['offset_y']); + break; case 'flip': $image->flip(@$data['direction']); break; diff --git a/frontend/web/css/concat_all.css b/frontend/web/css/concat_all.css index f4db65f..4e48d3d 100755 --- a/frontend/web/css/concat_all.css +++ b/frontend/web/css/concat_all.css @@ -804,7 +804,7 @@ hr { } .item_3_blocks_wrap .item_img_block .main_img_slide .small_img_block img { - width: 96%; + max-width: 96%; } .item_3_blocks_wrap .item_img_block .main_img_slide .small_img_block:first-child { -- libgit2 0.21.4