Thread: Image Size
View Single Post
  #1  
Old 10-30-2003, 04:09 PM
 
jeeya jeeya is offline
 

X-Adept
  
Join Date: May 2003
Location: USA
Posts: 807
 

Default 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.
Reply With Quote