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

Thumbnails disorted! Help!

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-25-2004, 08:02 AM
 
cbslimport cbslimport is offline
 

Member
  
Join Date: Mar 2004
Posts: 11
 

Default Thumbnails disorted! Help!

Iб╢m using 3.5.6 and have my thumbnails pictures stored on the server, not in the database. Iб╢ve tried to delete the thumbnail width in General Settings but it doesnб╢t store it, it sets it to the size of 70.
Is there anyway I can delete the standard width since all of my thumbnails are not in the same size.
Reply With Quote
  #2  
Old 04-25-2004, 04:36 PM
 
Sembroidery Sembroidery is offline
 

eXpert
  
Join Date: Oct 2003
Posts: 332
 

Default Re: Thumbnails disorted! Help!

Quote:
Originally Posted by cbslimport
Is there anyway I can delete the standard width since all of my thumbnails are not in the same size.

I don't think so. You'll have to either make all your thumbnails same width or X-cart will stretch or shrink them to one and the same size.
__________________
X-Cart 4.7.12 Live
OS: Linux
Reply With Quote
  #3  
Old 04-26-2004, 01:45 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Set it to 0 instead of completely removing it.

This will make the thumbnail not scale, and use its original aspect ratio.

hth.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #4  
Old 04-26-2004, 01:48 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you have to edit products.tpl and product.tpl.

look for something like this

Code:
{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} {$lng.lbl_see_details}</a>

you can change the parts

Code:
[product].productid image_x=$config.Appearance.thumbnail_width

to maybe

Code:
[product].productid image_x=100
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 06:12 AM.

   

 
X-Cart forums © 2001-2020