Hi,
I've read the whole thread, and I can see Philippe had missed that you were talking about the variant thumbnails in "list" display mode in your first message.
I thought it was about the normal thumbnails display system on the product page.
So I checked the situation there and there is indeed a problem there.
Edit the file show_block_characteristic via the menu Display>Views and change the line:
echo $this->image->display($image->file_path, true, $image->file_name, 'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"', '', $width, $height);
by the code:
if($this->image->override) {
echo $this->image->display(@$image->file_path, true, @$image->file_name, 'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','', $width, $height);
} else {
if(empty($this->popup))
$this->popup = hikashop_get('helper.popup');
$image_options = array('default' => true,'forcesize'=>$this->config->get('image_force_size',true),'scale'=>$this->config->get('image_scale_mode','inside'));
$img = $this->image->getThumbnail(@$image->file_path, array('width' => $width, 'height' => $height), $image_options);
if(@$img->success) {
$attributes = 'style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"';
if($img->external && $img->req_width && $img->req_height)
$attributes .= ' width="'.$img->req_width.'" height="'.$img->req_height.'"';
$html = '<img '.$attributes.' title="'.$this->escape(@$image->file_description).'" alt="'.$this->escape(@$image->file_name).'" src="'.$img->url.'"/>';
if($this->config->get('add_webp_images', 1) && function_exists('imagewebp') && !empty($img->webpurl)) {
$html = '
<picture>
<source srcset="'.$img->webpurl.'" type="image/webp">
<source srcset="'.$img->url.'" type="image/'.$img->ext.'">
'.$html.'
</picture>
';
}
echo $this->popup->image($html, $img->origin_url, null, 'title="'.$this->escape(@$image->file_description).'"');
}
}
Then, it will work. We'll add that change on our end for the next version of HikaShop.