Released under the GNU General Public License ************************************************ Image Manipulator v-1.0.0 (Based on Original File from osCommerce) Author: Kaushik Sarkar E-mail:kaushik_sarkar2004@yahoo.co.in ************************************************ In admin panel there is a section called Image, under Configuration. In Central Panel two Constant (Small Image Width and Small Image Height) the corresponding keyword in code are (SMALL_IMAGE_WIDTH and SMALL_IMAGE_HEIGHT).The roll of these two constants are calculated the image size, because in any e-commerce portal there are two views of any image one is thumbnail and other is large view. But width and height of images are not same, take an example, if width and height of a image are 100 and 80 whereas width and height of another image are 80 and 100 respectively. So I have modified the tape image function of html_output.php (catalog/include/function/html_output.php). Before modification this function has 5 parameters (among which $width and $height is responsible for re-calculating images).I remove those parameters now it has only three parameters function tep_image($src, $alt = '', $parameters = '') { if ( (empty($src) || ($src == DIR_WS_IMAGES)) && (IMAGE_REQUIRED == 'false') ) { return false; } ******** IT IS STRONGLY SUGGESTED TO MAKE A BACK-UP OF THIS FILE FIRST **********

Files