Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Thumbnail default

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-23-2008, 05:12 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Thumbnail default

How do I set my store to have thumbnails displaying to the true size of an image. Like instead of a default 100x100 or whatever it is it will just show the image in it's true size?
__________________
X-Cart DB Version: 5
Reply With Quote
  #2  
Old 11-25-2008, 12:17 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Thumbnail default

Quote:
Originally Posted by gotpump
How do I set my store to have thumbnails displaying to the true size of an image. Like instead of a default 100x100 or whatever it is it will just show the image in it's true size?

In the next file "skin1/customer/main/products.tpl", find the next line
PHP Code:
<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}{if $featured eq 'Y'}&amp;featured{/if}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url}</a


and delete the following snippet

PHP Code:
image_x=$config.Appearance.thumbnail_width 



In the next file "skin1/customer/main/products_t.tpl", find the next line
PHP Code:
<a href="product.php?productid={$products[product].productid}&amp;cat={$cat}&amp;page={$navigation_page}">{include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y product=$products[product].product tmbn_url=$products[product].tmbn_url}</a

and delete the following snippet

PHP Code:
image_x=$products[product].tmbn_x|default:$config.Appearance.thumbnail_width image_y=$products[product].tmbn_y 
Reply With Quote
  #3  
Old 11-25-2008, 09:28 AM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Thumbnail default

Thanks a lot Yurij
__________________
X-Cart DB Version: 5
Reply With Quote
  #4  
Old 02-27-2009, 03:11 PM
 
gotpump gotpump is offline
 

eXpert
  
Join Date: Aug 2008
Posts: 272
 

Default Re: Thumbnail default

Anyone know how to set this for recently view / buy together mod from alteredcart?
__________________
X-Cart DB Version: 5
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:35 AM.

   

 
X-Cart forums © 2001-2020