diff --git a/common/config/main.php b/common/config/main.php index 2afd808..1400906 100755 --- a/common/config/main.php +++ b/common/config/main.php @@ -182,6 +182,12 @@ return [ 'height' => 110, ], ], + 'product_show'=>[ + 'resize' => [ + 'width' => 342, + 'height' => 350, + ], + ] ] ], 'basket' => [ diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index b1aaa73..76c9586 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -45,28 +45,23 @@ FlipclockAsset::register($this);
- + images as $image) : ?> - imageUrl, 'product_trumb',[ - 'alt'=>'test', - 'title' => 'test2' - ]) ?> + imageUrl, 'product_trumb') ?>
-
- - - imageUrl, 'product_trumb',[ - 'alt'=>'test', - 'title' => 'test2' - ]) ?> - - +
+ + +
imageUrl, 'product_show',[ + 'alt'=>$product->name, + 'title' => $product->name + ]) ?>
+ +
-- libgit2 0.21.4