| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
#1
|
|||||||
|
|||||||
Image Size
Hello,
I have Super Hit Section and Used Movies Section ( It is same as Featured Products - I choose products manually from administration to show on main page - just as featured products ) I want image size to be 100% to be showed only in Super Hit Section and Used Movie Section in Side Menu. This is my product_thumbanail.tpl ----------------------------------------- {* $Id: product_thumbnail.tpl,v 1.8 2003/04/24 09:50:33 svowl Exp $ *} {if $config.Appearance.show_thumbnails eq "Y"}[img]{if $full_url}{$http_location}{else}..{/if}/image.php?productid={$productid}{if $file_upload_data.file_path}&tmp=y{/if}[/img]{/if} ------------------------------------------- And this is my Super Hit Section.tpl ------------------------------------------ {* $Id: menu_bestsellers.tpl,v 1.7 2003/02/25 08:58:47 olga Exp $ *} {if $mh_products} {capture name=menu} {foreach from=$mh_products item=v key=k} {if $k < $config.General.num_product_image4mh} <p align="center">{include file="product_thumbnail.tpl" productid=$v.productid image_x=$config.Appearance.thumbnail_width product=$v.product} <a href="product.php?productid={$v.productid}&cat={$c at}" class=VertMenuItems> <font color="#FF3300">{$v.product}</font></a><font color="#FF3300"> </font><font style="color=#000000;"> - {include file="currency.tpl" value=$v.price}</font></p> <p align="left"> {else} {$v.product} -<font style="color: #000000;"> {include file="currency.tpl" value=$v.price}</font> {/if} {/foreach}</p> <center> <p align="center">{/capture} { include file="menu.tpl" dingbats="dingbats_categorie.gif" menu_title="Super Hit Sale!" menu_content=$smarty.capture.menu } {/if} ------------------------------------------------------ What change should I made to show Image 100% in Super Hit section ONly. Thanks. |
|||||||
#2
|
|||||||
|
|||||||
I figured that Out.
It was easy |
|||||||
#3
|
|||||||||
|
|||||||||
Why don't you share with us...
|
|||||||||
#4
|
|||||||
|
|||||||
Hello,
all I changed was the following Line. "{include file="product_thumbnail.tpl" productid=$v.productid image_x=120 product=$v.product}" Thanks |
|||||||
#5
|
|||||||
|
|||||||
.
ok that code worked perfect as I needed.
But It doesn't let me clone the Item ( It gives error and makes clone but no Image ) Second, I can not upload image directly from other website's webserver by putting url of image. It either shows up half image or just stays blank, just like when image doesn't down load and shows " X " image. Any Idea to fix this thing other than chaning above code back to the same it was. |
|||||||
#6
|
|||||||
|
|||||||
.
ok that code worked perfect as I needed.
But It doesn't let me clone the Item ( It gives error and makes clone but no Image ) Second, I can not upload image directly from other website's webserver by putting url of image. It either shows up half image or just stays blank, just like when image doesn't down load and shows " X " image. Any Idea to fix this thing other than chaning above code back to the same it was. |
|||||||
#7
|
|||||||
|
|||||||
|
|||||||
#8
|
|||||||
|
|||||||
why it gives big errors when I post message!
|
|||||||
|
|||
X-Cart forums © 2001-2020
|