diff --git a/frontend/assets/FotoramaAsset.php b/frontend/assets/FotoramaAsset.php index d9a6515..6ddfe8e 100755 --- a/frontend/assets/FotoramaAsset.php +++ b/frontend/assets/FotoramaAsset.php @@ -17,10 +17,10 @@ class FotoramaAsset extends AssetBundle { public $sourcePath = '@bower'; public $css = [ - 'fotorama/fotorama.css' + 'lightbox2/dist/css/lightbox.min.css' ]; public $js = [ - 'fotorama/fotorama.js' + 'lightbox2/dist/js/lightbox.min.js' ]; public $jsOptions = array( 'position' => \yii\web\View::POS_END diff --git a/frontend/views/catalog/product.php b/frontend/views/catalog/product.php index 76c9586..f80e6bd 100755 --- a/frontend/views/catalog/product.php +++ b/frontend/views/catalog/product.php @@ -48,21 +48,19 @@ FlipclockAsset::register($this); images as $image) : ?> - imageUrl, 'product_trumb') ?> + imageUrl, 'product_show') ?> -
- - -
imageUrl, 'product_show',[ - 'alt'=>$product->name, - 'title' => $product->name - ]) ?>
- + + imageUrl, 'product_show',[ + 'data-full'=>"$product->imageUrl", + 'alt'=>$product->name, + 'title' => $product->name + ]) ?> + -
-- libgit2 0.21.4