Превью изоражения в каталоге


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <?php
  2. echo HTML::anchor(
  3. $item['structure_path'].'/'.$item['item_id'],
  4. HTML::image(Builder::config('module_catalog.item.photo.dir').'/'.$item['item_photo'].Builder::config('module_catalog.item.photo.thumb_suffix'),
  5. $item['meta_title'], TRUE, TRUE, NULL,
  6. '/media/img/catalog-empty-item.gif'
  7. ),
  8. array('title' => $item['meta_hint'])
  9. );
  10. ?>

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.