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,7 +48,10 @@ FlipclockAsset::register($this);
48 48
49 <?php foreach($product->images as $image) : ?> 49 <?php foreach($product->images as $image) : ?>
50 <a href="<?= $image->imageUrl ?>"> 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 </a> 55 </a>
53 <?php endforeach ?> 56 <?php endforeach ?>
54 </div> 57 </div>
@@ -58,7 +61,10 @@ FlipclockAsset::register($this); @@ -58,7 +61,10 @@ FlipclockAsset::register($this);
58 data-height="350"> 61 data-height="350">
59 62
60 <a href="<?= $product->imageUrl ?>"> 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 </a> 68 </a>
63 69
64 </div> 70 </div>
@@ -289,10 +295,7 @@ FlipclockAsset::register($this); @@ -289,10 +295,7 @@ FlipclockAsset::register($this);
289 <div class="events"> 295 <div class="events">
290 <?php foreach($product->events as $event):?> 296 <?php foreach($product->events as $event):?>
291 <?php if(!empty($event->banner) && $event->isActive()):?> 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 <?php endif; ?> 299 <?php endif; ?>
297 <?php endforeach; ?> 300 <?php endforeach; ?>
298 </div> 301 </div>