Commit 55ea55f2ca988c19b254d0f017e2fc0cf15c2dff

Authored by Administrator
1 parent 0877f3f5

big commti

Showing 1 changed file with 9 additions and 6 deletions   Show diff stats
frontend/views/catalog/product.php
... ... @@ -48,7 +48,10 @@ FlipclockAsset::register($this);
48 48  
49 49 <?php foreach($product->images as $image) : ?>
50 50 <a href="<?= $image->imageUrl ?>">
51   - <?= ArtboxImageHelper::getImage($image->imageUrl, 'product_trumb') ?>
  51 + <?= ArtboxImageHelper::getImage($image->imageUrl, 'product_trumb',[
  52 + 'alt'=>'test',
  53 + 'title' => 'test2'
  54 + ]) ?>
52 55 </a>
53 56 <?php endforeach ?>
54 57 </div>
... ... @@ -58,7 +61,10 @@ FlipclockAsset::register($this);
58 61 data-height="350">
59 62  
60 63 <a href="<?= $product->imageUrl ?>">
61   - <?= ArtboxImageHelper::getImage($product->imageUrl, 'product_trumb') ?>
  64 + <?= ArtboxImageHelper::getImage($product->imageUrl, 'product_trumb',[
  65 + 'alt'=>'test',
  66 + 'title' => 'test2'
  67 + ]) ?>
62 68 </a>
63 69  
64 70 </div>
... ... @@ -289,10 +295,7 @@ FlipclockAsset::register($this);
289 295 <div class="events">
290 296 <?php foreach($product->events as $event):?>
291 297 <?php if(!empty($event->banner) && $event->isActive()):?>
292   - <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list',[
293   - 'alt'=>'test',
294   - 'title' => 'test2'
295   - ]),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?>
  298 + <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list'),Url::to(['event/show','alias'=>$event->alias,'id'=>$event->primaryKey]))?>
296 299 <?php endif; ?>
297 300 <?php endforeach; ?>
298 301 </div>
... ...