First of all im sorry about posting twice, something went a little strange and I couldn't find where to delete one of them! Ooops.
Okay so I better explain my problem a little better, basically I have already put the jscript in the folder for the product listing page and it does work on the main image of the product listing as you see here:
http://kitchenwarehouseltd.com/compl...gh-gloss/cream
the image of the door and unit you can click and open the lightbox. This is perfect.
The rest of the images dont, I think this is due to the way its coded, normally these images link to the product but I think for the lightbox to work they need to link to the image source?
So in /includes/modules/template/product_listing.php
I think
PHP Code:
$lc_text ='<div class="product_image">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"');
Will need changing to incorporate the image source, But I dont know how
Danny
Bookmarks