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

featured item's image size vs. regular thumbnail size

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-08-2005, 06:01 PM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default featured item's image size vs. regular thumbnail size

is there a way to make the thumbnails for the featured items be one size, and the other thumbnails be another?

i hate the way automatically resized thumbails look, so i'm making all my thumbails 300px wide and then turning the setting to 300, but i dont want my featured items to be that big.

how could i work around this?

why does the resized xcart image always look jagged?
__________________
4.2.2
Reply With Quote
  #2  
Old 08-08-2005, 10:38 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

Let you try with this..

{if $products eq $f_products and $featured eq "Y"}
....
{else}
...
{/if}
Reply With Quote
  #3  
Old 08-09-2005, 03:33 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

The resized images are "jagged" looking because you are not actually resizing the image - you are just changing the amount of space that it shows in. The actually image is still 300px wide and the file size is the same, you are just showing it all in a smaller space.

I have created a Mod that will allow you to upload one large image and it will dynamically generate new images for the Product page, the Thumbs for the product listing pages, thumbnails for the shopping cart and also a popup for a detail - all from one large image. The dimensions for each are also configurable from within Admin.

This makes image management much easier and you do not have to worry about resizing in an application such as Photoshop. You would also not have to worry about creating and uploading multiple images.

Let me know if you are interested.
Reply With Quote
  #4  
Old 08-09-2005, 08:39 AM
 
bobbyftk bobbyftk is offline
 

Senior Member
  
Join Date: Jun 2005
Posts: 167
 

Default

Quote:
Originally Posted by Dongan
Let you try with this..

{if $products eq $f_products and $featured eq "Y"}
....
{else}
...
{/if}

where should i do this? i'm not sure if i follow those instructions.


telafirma- the mod sounds interesting. although i dont think its something i would use. i use many different pictures in the detailed pics and creating one thumbnail isnt much trouble at all. i have everything just how i want it, i just dont want the featured products to be the size of the thumbnail. all my thumbnails are 300, and on the product listing they will show as 300, but i dont want to change that setting to 300 yet because the featured items would be huge. i keep those in 3 columns so it wouldnt work. i just want to manually change the featured items to 150.

make sense?
anyone out there got a suggestion?
thanks
__________________
4.2.2
Reply With Quote
  #5  
Old 08-09-2005, 08:43 PM
  Dongan's Avatar 
Dongan Dongan is offline
 

X-Wizard
  
Join Date: Jul 2005
Location: www.mercuryminds.com
Posts: 1,531
 

Default

You should try at skin1/customer/main/product.tpl file where the thumbnail.tpl is called.
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 02:03 PM.

   

 
X-Cart forums © 2001-2020