im using optimised images for my site so all of my regular images are sized to display fast on the main product listing page with the large images only showing on the actual product listing page.
i am using featured products on the main page but i am only showing one or two at most so i would like the images to be bigger, by using the large version (_LRG) instead of the normal version.
i cant change settings in admin>config>images because the actual size of the photos is only 150px x 150px and i need them 300px - bigger than the original is.
ive noticed in featured_products.php the query string that calls the image is
what would i replace the p.products_image with to reference the large version?Code:$featured_products_query = "select distinct p.products_id, p.products_image, pd.products_name, p.master_categories_id from (" . TABLE_PRODUCTS . " p left join " . TABLE_FEATURED . " f on p.products_id = f.products_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id ) where p.products_id = f.products_id and p.products_id = pd.products_id and p.products_status = 1 and f.status = 1 and pd.language_id = '" . (int)$_SESSION['languages_id'] . "'";
i hope ive explained my self properly?


Reply With Quote
