![]() |
Shrink images on view cart page
Hi could someone help me with shrinking the images on the view cart page only, without it affecting images size else were
Many thanks for any help |
Re: Shrink images on view cart page
Edit the template and change image_x, image_y where it calls the image template
|
Re: Shrink images on view cart page
Another one of those things that should be a setting in the admin.
|
Re: Shrink images on view cart page
i agree it should be a standard setting in admin, make life just a little easier.
I altered /common_files/product_thumbnail.tpl this code - {if $image_x ne 0} width="{$image_x}"{/if} {if $image_y ne 0} height="{$image_y}"{/if} alt="{$product|escape}" /> to this - {if $image_x ne 0} width="100px"{/if} {if $image_y ne 0} height="100px"{/if} alt="{$product|escape}" /> But it also changed the main image size as well |
Re: Shrink images on view cart page
He didn't mean that template - he meant cart.tpl. You can't change product_thumbnail.tpl as that is EVERY image.
|
Re: Shrink images on view cart page
Yes I meant the template that calls product_thumbnail.tpl (thanks balinor). It passes widht and height of the image to product_thumbnail.tpl
|
Re: Shrink images on view cart page
Thanks guys done the trick
|
All times are GMT -8. The time now is 12:06 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.