
Originally Posted by
tasmania
I had a same problem as yours like additional images weren't displayed. I did the mod below and the
problem resolved. First thanks for that. But now in the category listing page or in the homepage --> featured products
section onmouseover doesn't work. No pop-up display when the mouse over small images. Do you have a solution for this problem
?
Actually yesterday i found the problem but my coding knowladge is not good enough to fix buggy codes. If anyone helps me
about fixing i'll be grateful.
The problem arise from added backslashes in the bmz_image_handler.class.php line 702.
Code:
onmouseover="showtrail (' . "\'$products_image_zoom\',\'$alt\',$width,$height
If i remove this backslashes all pages work fine (shows popup images on mouse over) except product_info_display. When the
backslashes are removed product_info_display.php doesn't ever shows additional images.
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&pID=187&pic=0&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&cPath=54&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>
Because of the document.write code in product_info_display.php there must be backslashes on the other side these backslashes must be removed in order to other listing pages work fine.
All the pages use the code in the bmz_image_handler.class.php (line: 702).
How can i fix the problem. I spent a full day to resolve but no success. Apologize for the long explanation.
Bookmarks