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

Fashion Mosaic Product Detail Image Size

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-02-2008, 10:03 PM
 
Tom D Tom D is offline
 

Member
  
Join Date: Aug 2008
Posts: 12
 

Default Fashion Mosaic Product Detail Image Size

I am having trouble changing the image size from the template. I am trying to edit this template /customer/main/product.tpl

The code for the image I am using is

{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}

The code that was originaly in place would not show the image for what ever reason.

I need to limit the size of all the images so they dont take up all the room. I have tried changing the X variable and Y variable. I have tried changing the X variable and deleting the Y. I am having no luck and the chances are I dont know what I'm doing lol.

Link to an example https://www.lovebugbabylv.com/xcart/product.php?productid=16133&cat=253&page=1

Thanks for the help.
__________________
X Cart 4.1.10
Reply With Quote
  #2  
Old 10-03-2008, 07:49 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Fashion Mosaic Product Detail Image Size

Quote:
Originally Posted by Tom D
I am having trouble changing the image size from the template. I am trying to edit this template /customer/main/product.tpl

The code for the image I am using is

{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}

The code that was originaly in place would not show the image for what ever reason.

I need to limit the size of all the images so they dont take up all the room. I have tried changing the X variable and Y variable. I have tried changing the X variable and deleting the Y. I am having no luck and the chances are I dont know what I'm doing lol.

Link to an example https://www.lovebugbabylv.com/xcart/product.php?productid=16133&cat=253&page=1

Thanks for the help.

Try next solution:

max width - 250 px:

PHP Code:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=250 product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"
Reply With Quote
  #3  
Old 10-03-2008, 07:57 AM
 
Tom D Tom D is offline
 

Member
  
Join Date: Aug 2008
Posts: 12
 

Default Re: Fashion Mosaic Product Detail Image Size

Your a genius.

Worked like a charm, Thanks.
__________________
X Cart 4.1.10
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 12:16 AM.

   

 
X-Cart forums © 2001-2020