Hello Xavier,
thank you for your help. You gave me a perfect hint because I failed to see that "com_hikashop->helper" is under "administrator".
The problem is that I have more than one image. There is still the normal function with the thumbs. But I´ve done a good step forward. The Cloud Zoom Function is working - unfortunately just with the first big image.
Code from com_hikashop->helper->image.php (line: 141)
if($this->override && function_exists('hikashop_small_image_link_render')){
$html = hikashop_small_image_link_render($this,$path,$addpopup,$optionslink,$html,$alt);
}else{
$html = '<a title="'.$alt.'" class="hikashop_image_small_link" href="'.$this->uploadFolder_url.$path.'" onclick="return hikashopChangeImage(\''.$addpopup.'\',\''.$this->uploadFolder_url_thumb.'\',\''.$this->thumbnail_x.'\',\''.$this->thumbnail_y.'\',this);" onmouseover="return hikashopChangeImage(\''.$addpopup.'\',\''.$this->uploadFolder_url_thumb.'\',\''.$this->thumbnail_x.'\',\''.$this->thumbnail_y.'\',this);" '.$optionslink.'>'.$html.'</a>';
}
}else{
JHTML::_('behavior.modal');
if($this->override && function_exists('hikashop_image_link_render')){
$html = hikashop_image_link_render($this,$path,$addpopup,$optionslink,$html,$alt);
}else{
$html = '<a title="'.$alt.'" target="_blank" href="'.$this->uploadFolder_url.$path.'" '.$optionslink.''.$html.'</a>';
}
Code from show_block_img.php (line: 56)
<div style="position:relative;text-align:center;clear:both;width:<?php echo $divWidth;?>px;margin: auto;" class="hikashop_product_main_image_subdiv">
<p>{cloudzoom}</p>
<?php echo $this->image->display(@$image->file_path,true,@$image->file_name,'id="hikashop_main_image'.$variant_name.'" style="margin-top:10px;margin-bottom:10px;display:inline-block;vertical-align:middle"','id="hikashop_main_image_link" <p>{/cloudzoom}</p>', $width, $height);
if(!empty($this->element->badges)) $this->classbadge->placeBadges($this->image, $this->element->badges, '0', '0');
?>
</div>
I´m not fit enough in coding to see the perfect solution. The question in my head is if it is possible to give a path so the main image and the thumbimages (after onmousehover) paths are equal so Cloud Zoom will use the currant big picture. Actually Cloud Zoom use the first picture all the same if thumbs become the big image or not.
Or is after-mouse-over the path the same and Cloud Zoom has to be refreshed in any way? For that I have to ask the developer but I want to wait if I oversee something in the image.php or show_block_img.
(By the way: is it possible to donate for the project?