X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   2 Row Featured Products (https://forum.x-cart.com/showthread.php?t=1241)

ATKOgirl 02-04-2003 10:43 PM

Hi Blackhawk:

In your admin, choose "categories" and page all the way down. You should see the featured products section there.

;->

ATKOgirl

rockman 03-06-2003 10:22 PM

Hi all,

I tried this 2 column mod for featured products. However the mod grabs a larger image from somewhere and does not draw the thumb.

I have only uploaded one image for products 150x150 and other thumbs are all ok.

ideas???? what can I do?

Thanks

TelaFirma 03-07-2003 04:30 AM

In the {IMAGE} section there, change the code
Code:

{include file="product_thumbnail.tpl" productid=$f_products[product].productid product=$f_products[product].product}
to read
Code:

{include file="product_thumbnail.tpl" productid=$f_products[product].productid image_x=70 product=$f_products[product].product}

The difference is the addition of the image_x=70. This send the x demention for the image to the tumbnail template. Basically telling it to display the image 70 pixels wide.

Also, as logic would follow, you can specify AND/OR the "y" cordinate... image_y=70..

Really it depends on what you want to control, the height (y) or the width (x) if the thumbnail. But I would chose only one... not both... or you will ultimately end up with some funky looking pictures :lol:

rockman 03-07-2003 07:25 AM

thank you


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

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