rusty1001 Posted January 16, 2007 Share Posted January 16, 2007 Hi would anyone know how to change the image size of the admin - categories, I have images that could be downloaded but they are huge in preview, it would be subcategory_image_width something.. not which image to set for thanks russell Rusty ------------------------------------------- Link to comment Share on other sites More sharing options...
Guest Posted January 17, 2007 Share Posted January 17, 2007 look for the HEADING_IMAGE_WIDTH and SMALL_IMAGE_WIDTH in categories.php. You have to add other definitions as those are retrieved from the dbase. But you also need a thumbnailer on the admin end. Otherwise the browser still downloads the full image (if you're concerned with the time taken to load the product pages). Link to comment Share on other sites More sharing options...
b101aa2 Posted January 17, 2007 Share Posted January 17, 2007 Example of preview page. I have code set to small image, but you can get a good idea of what needs changed: <?php echo tep_image(DIR_WS_CATALOG_IMAGES . $products_image_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'width="130" height=""', 'align="right" hspace="5" vspace="5"') . $pInfo->products_description; ?> Do a search of categories.php and change all to the width you want. Note, no value is set in height. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.