<?php defined('_JEXEC') or die('Restricted access'); $form = @$this->form; $row = @$this->row; $helper_product = new TiendaHelperProduct(); $gallery_path = $helper_product->getGalleryPath($row->product_id); $gallery_url = $helper_product->getGalleryUrl($row->product_id); $images = $helper_product->getGalleryImages($gallery_path); ?> <?php if (!empty($images)) { ?> <fieldset id="product-form-gallery"> <legend><?php echo JText::_("COM_TIENDA_GALLERY"); ?> </legend> <ul> <?php foreach ($images as $image) { ?> <li class="pull-left"> <img src="<?php echo $gallery_url; ?> thumbs/<?php echo $image; ?>