diff --git a/common/config/main.php b/common/config/main.php
index f2deb13..9692f7e 100755
--- a/common/config/main.php
+++ b/common/config/main.php
@@ -122,8 +122,8 @@ return [
],
'large' => [
'resize' => [
- 'width' => 600,
- 'height' => 600,
+ 'width' => 1200,
+ 'height' => 800,
'master' => null
],
],
diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php
index 32d656e..144e120 100755
--- a/frontend/views/catalog/product.php
+++ b/frontend/views/catalog/product.php
@@ -2,6 +2,9 @@
use common\components\artboximage\ArtboxImageHelper;
+$this->registerCssFile(Yii::getAlias('@web/css/lightbox.css'));
+$this->registerJsFile(Yii::getAlias('@web/js/lightbox.js'));
+
/** @var $this \yii\web\View */
/** @var $dataProvider \yii\data\ActiveDataProvider */
$this->title = $product->name;
@@ -19,7 +22,9 @@ $this->params['breadcrumbs'][] = $product->name .' #'. $product->variant->sku;
image)) :?>
- = $product->image->imageUrl ? ArtboxImageHelper::getImage($product->image->imageUrl, 'product') : ''?>
+
+ = ArtboxImageHelper::getImage($product->image->imageUrl, 'product')?>
+