WITHOUT THE PROPER PHP KNOWLEDGE and the lack of understanding of function display() I managed to put this code in my site:
<?php
if (!empty ($this->element->images) && count($this->element->images) > 1) {
foreach ($this->element->images as $image) {
$height = $this->config->get('product_image_y');
$width = $this->config->get('product_image_x');
if(empty($height)) $height=$this->config->get('thumbnail_y');
if(empty($width)) $width=$this->config->get('thumbnail_x');?>
<td>
<?php
echo '<img width="110px" src="'.$this->image->display($image->file_path, 'hikashop_main_image', '', '','', $width, $height)
?>
</td>
<?php
}
}
?>
It gives me want I want, but something extra I don't want, void thumbnails pointing to this URL
http://localhost:8888/activacions/%3Ca%20title=
Could somebody please help me tune-up this small piece of code, I'm pretty sure it must be some very stupid flaw in my coding.
Thank you