Guest Posted April 23, 2009 Share Posted April 23, 2009 (edited) After giving up on trying to lightbox the large images and a request to enlarge the large image size and place the large images directly on the product info page*, I looked through most of the includes and templates as well as searched the configuration table in the database for anything that defined image sizes. I could not find anything related to the size of the large product images. I found the heading images dimensions in the configuration table, but nothing else that determines image size. So, where does one change the image sizes? *Most of the products in this store can be described by one large image and the product name alone. Edited April 23, 2009 by anametamystik Quote Link to comment Share on other sites More sharing options...
rusky Posted April 24, 2009 Share Posted April 24, 2009 ...hi, in the sourcecode look for: SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT . These sizes you can change in the admin ->configuration -> images. If you want to output the large image in the product_info, you have to change: document.write('<?php //echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); into document.write('<?php //echo '<a href="java script:popupWindow(\\\'' . tep_href_link(FILENAME_POPUP_IMAGE, 'pID=' . $product_info['products_id']) . '\\\')">' . tep_image(DIR_WS_IMAGES . $product_info['products_image_lrg'], addslashes($product_info['products_name']), SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'hspace="5" vspace="5"') . '<br>' . TEXT_CLICK_TO_ENLARGE . '</a>'; ?>'); or without java script: <?php echo tep_options_images(DIR_WS_IMAGES . $product_info['products_image_lrg'], addslashes($product_info['products_name']), $image_width, $image_height, 'hspace="5" vspace="5"'); ?> ... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.