X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   featured item's image size vs. regular thumbnail size (https://forum.x-cart.com/showthread.php?t=15770)

bobbyftk 08-08-2005 06:01 PM

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?

Dongan 08-08-2005 10:38 PM

Let you try with this..

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

TelaFirma 08-09-2005 03:33 AM

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.

bobbyftk 08-09-2005 08:39 AM

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

Dongan 08-09-2005 08:43 PM

You should try at skin1/customer/main/product.tpl file where the thumbnail.tpl is called.


All times are GMT -8. The time now is 10:10 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.