View Single Post
  #21  
Old 08-27-2008, 11:37 AM
 
sg_web sg_web is offline
 

Member
  
Join Date: May 2008
Posts: 29
 

Default Re: Shadowbox Integration

well, finely making some progress with a lightbox but it's only working when i don't have any detailed images. if there are detailed images with the product, it reverts back to the standard detailed images mod. disabling "Display detailed images in a popup window:" didn't help.

my product.tpl file is heavily customized so that could also be the issue. here's the code that generates an image on the product page:

Code:
<div id="product_image"> {$product.imgurl} {* PHP Site Solutions - Dynamic Images *} {if $active_modules.PHPSS_Dynamic_Images ne ""} {assign var=phpss_dyn_img_width value=$config.PHPSS_Dynamic_Images.phpss_dyn_img_prodtpl_img_width} {/if} {* / PHP Site Solutions - Dynamic Images *} {if $product.imageurl ne '' } <img src="{$product.imageurl}" alt="{$product.product}"/> {elseif $active_modules.Detailed_Product_Images ne "" && $config.Detailed_Product_Images.det_image_popup eq 'Y' && $images ne '' && $js_enabled eq 'Y'} {include file="modules/Detailed_Product_Images/popup_image.tpl"} {else} {* PHP Site Solutions - Dynamic Images *} <a href="{$product.tmbn_url}" title="{$product.product|escape}" rel="lytebox[detailed]"><img src="{thumb file=$product.tmbn_url width=$phpss_dyn_img_width|default:$product.image_x link=false hint=false get_image_path=true}" id="product_thumbnail" class="thumb" alt="{$product.product|escape}" /></a> &nbsp; {* / PHP Site Solutions - Dynamic Images *} {/if} {if $active_modules.Magnifier ne "" && $config.Magnifier.magnifier_image_popup eq 'Y' && $zoomer_images ne '' && $js_enabled eq 'Y'} {include file="modules/Magnifier/popup_magnifier.tpl"} {/if} </div>

any suggestions?
__________________
X-Cart version 4.1.10 and 4.2 for client sites

Sandi Gauder
CMS Web Solutions Inc.
cmswebsolutions.com
Reply With Quote