Zen Follower
- Join Date:
- Jun 2008
- Location:
- Sheffield South Yorkshire
- Posts:
- 165
- Plugin Contributions:
- 1
product_listing.php display large image
Hello,
Wonder if anyone can help me. I'm trying to display the large image in product_listing.php.
at the moment I have
case 'PRODUCT_LIST_IMAGE':
$lc_align = 'left';
if ($listing->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) {
$lc_text = '';
} else {
if (isset($_GET['manufacturers_id'])) {
$lc_text = '
';
} else {
$lc_text = '<a href="#' . $listing->fields['products_id'] . '" name="modal">' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '</a>
<div class="boxes">
<div id="' . $listing->fields['products_id'] . '" class="window">
<a href="#" class="close">Close this window</a>
<br />
' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '
<br />
<b>' . $listing->fields['products_name'] . '</b> | <br />
Product id ' . $listing->fields['products_id'] . '<br />
' . zen_get_products_description($listing->fields['products_id'], $_SESSION['languages_id'], PRODUCT_LIST_DESCRIPTION) . '
</div>
</div>
Ive tried changing
' . zen_image(DIR_WS_IMAGES . $listing->fields['products_image'], $listing->fields['products_name'], IMAGE_PRODUCT_LISTING_WIDTH, IMAGE_PRODUCT_LISTING_HEIGHT, 'class="listingProductImage"') . '
to
' . zen_image($products_image_large, $products_values->fields['products_name'] . '
but no joy.
Any ideas?