![]() |
Image Resizing
I am building a site for a client using x-cart 4.0.6 gold. Once I customize the site to their liking, they will mantain the site. Not that uncommon right? :D
Well I have ran into a bit of a problem. When you add a product and select an image for the product, my client will not know how to resize their image to fit my design scale. So if my client imports a 680x420 image and I need the image to be no bigger than 150 wide, how can I make the cart resize the image for them. Kinda like the thumbnail view on the category listing, but not destort it? Does anyone have a why to rescale the image once they click on a product (/product.php?productid=2&cat=13&page=1) Also, does anyone know how to make a three column product category listing rather than the default one product under the other listing? Nevermind, sorry found that. What file do I edit to change the appearance of the multi-column lists? products.tpl? Thanks :D |
products_t.tpl
|
hi,
for the image sizing, try to adding the code with (width="150") in the image tags where the image appears and remove the smarty tags that input the image widths. eg, in the file product_thumnail.tpl Quote:
try to change the code to: Quote:
you also may need to create your own image tpl file since changing the above template also affects your products list |
having them upload massive files wioll screw up the performance of the store.
get some freeware software that resizes images and teach them how to do it properly. |
All times are GMT -8. The time now is 05:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.