Guest Posted June 10, 2005 Share Posted June 10, 2005 Reference A simple 2 picture size patch http://www.oscommerce.com/community/contri...,simplepopupmod This mod ,image for show get it from /images folder and popup image get it from /images/large how to mod The only file to modify - catalog/popup_image.php Small images should be in the usual folder - catalog/images/ All large images must be uploaded by Ftp to a new folder - catalog/images/large/ In catalog/popup_image.php look for - <?php echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); ?> Replace it with - <?php $prefix="large/"; echo tep_image(DIR_WS_IMAGES . $prefix . $products['products_image'], $products['products_name']); ?> ******************************** But I used Additional_images_V1-13 http://www.oscommerce.com/community/contri...,3/search,image and want get pop up image in /image/large pls help me , this is code in my popup_image.php <?php if ($products['products_image_pop']== NULL ) {echo tep_image(DIR_WS_IMAGES . $products['products_image'], $products['products_name']); } else {echo tep_image(DIR_WS_IMAGES . DIR_FS_CATALOG_IMAGES_BIG . $products['products_image_pop'], $products['products_name'], POPUP_IMAGE_WIDTH, POPUP_IMAGE_HEIGHT);}; ?> My modify but it not work <?php if ($products['products_image_pop']== NULL ) {echo $prefix="large/"; tep_image(DIR_WS_IMAGES . $prefix . $products['products_image'], $products['products_name']); } else {echo tep_image(DIR_WS_IMAGES . DIR_FS_CATALOG_IMAGES_BIG . $products['products_image_pop'], $products['products_name'], POPUP_IMAGE_WIDTH, POPUP_IMAGE_HEIGHT);}; ?> Pls help me , create or fix this for get image in folder /images/large Thank you very much Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.