From 4a13b493e058f10726df7f37d468c5a042572f13 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 24 Oct 2016 13:47:48 +0300 Subject: [PATCH] big commti --- common/config/main.php | 6 ++++++ frontend/views/catalog/product.php | 27 +++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) 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