I want to activate my featured products center box and have one product with a large image. The problem I have encountered making the image larger is I am using the image manager mod which creates small medium and large images.
The admin settings for:
configuration > images > Image - Featured Products Width
configuration > images > Image - Featured Products Height
can't resize/enlarge the image larger than it's actual size which is much to small for what I want.
I'm looking in this file
includes/modules/featured_products.php
on line 143 in my file
I tried replacingCode:'text' => (($featured_products->fields['products_image'] == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == 0) ? '' : '<h1 class="itemTitle"><a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'cPath=' . $productsInCategory[$featured_products->fields['products_id']] . '&products_id=' . $featured_products->fields['products_id']) . '">' . $featured_products->fields['products_name'] . '</a></h1><div>' . '<a href="' . zen_href_link(zen_get_info_page($featured_products->fields['products_id']), 'cPath=' . $productsInCategory[$featured_products->fields['products_id']] . '&products_id=' . $featured_products->fields['products_id']) . '">' . zen_image(DIR_WS_IMAGES . $featured_products->fields['products_image'], $featured_products->fields['products_name'], IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT)) . '<span>' . zen_trunc_string(zen_clean_html(stripslashes(zen_get_products_description($featured_products->fields['products_id'], $_SESSION['languages_id']))), PRODUCT_LIST_DESCRIPTION) . '</span></a></div><br /><div class="prodPrice">' . $products_price . '</div><br /><a style="padding-bottom:10px" href="' . zen_href_link(FILENAME_PRODUCT_INFO, zen_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $new_products->fields['products_id'], 'NONSSL') . '">' . zen_image_button('button_in_cart.gif', BUTTON_IN_CART_ALT) . '</a>');
with thisCode:IMAGE_FEATURED_PRODUCTS_LISTING_WIDTH, IMAGE_FEATURED_PRODUCTS_LISTING_HEIGHT
which doesn't workCode:MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT
I had done something similar with a sidebox once before but I can't find the post where I received help and I can't find my notes on it either.
Am I way off? What am I missing?
Thanks


Reply With Quote
