Quote Originally Posted by tasmania View Post
The code detail of two different pages are below:

product_info_display.php --> The Code with Backslashes - Work Fine

Code:
 <script language="javascript" type="text/javascript"><!--
document.write('<a 
href="javascript:popupWindow(\'http://localhost/yeni3/index.php?main_page=popup_image_additional&amp;pID=187&amp;pic=0&amp;pr
oducts_image_large_additional=images/outwear_01.jpg\')"><img 
src="bmz_cache/2/27f3969a344502c357df2741750239ad.image.78x80.jpg" alt=" " title=" " width="78" height="80" style="position:relative" onmouseover="showtrail(\'bmz_cache/7/7dddd9592ad5ce26631be343b2c9224d.image.270x273.jpg\',\'SportHilL Windshield Vest\',78,80, 270,273,this,0,0,78,80);" nmouseout="hidetrail();"  /><br />büyüt</a>');
/index.php?main_page=index&cPath=54 (Category Listing Page) --> The Code with Backslashes - Doesn't Work Fine

Code:
 <div class="dc main_cell_c1" ><br><a 
href="http://localhost/yeni3/index.php?main_page=product_info&amp;cPath=54&amp;products_id=134"><img 
src="bmz_cache/a/afe23b0e59406cf3795ed237bd9e331e.image.80x80.jpg" alt=" " title=" " width="80" height="80" 
style="position:relative" onmouseover="showtrail('images//sss.jpg','Mens GORE-TEX Jacket',80,80, 110,110,this,0,0,80,80);" 
onmouseout="hidetrail();"  /></a></div>

How can i fix the problem. I spent a full day to resolve but no success. Apologize for the long explanation.
Hi There,

Ok, I've found that replacing the original code in classes/bmz_image_handler.php (~line 701):
Code:
return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
with this:

Code:
if (!($_GET['main_page']==FILENAME_PRODUCT_INFO)) {
        return $parameters . 'style="position:relative" onmouseover="showtrail(' . "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
      } else {
		return $parameters . 'style="position:relative" onmouseover="showtrail(' . "\'$products_image_zoom\',\'$alt\',$width,$height,$zoomwidth,$zoomheight,this," . $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
		}
Fixes the issue of additional images not displaying, while still allowing the hover effect on product listing pages.

What I'd also like to figure out how to do, is to prevent the hover on CATEGORY and SUBCATEGORY images (as I try to upload the smallest category image possible, since IH2 doesn't resize these - yet it still adds the mouseover to them).

Anyway, I tried a few things to get that to work, but haven't figured it out yet. Any ideas?