View Single Post
  #8  
Old 12-15-2008, 03:44 PM
 
xtestedx xtestedx is offline
 

Advanced Member
  
Join Date: Oct 2005
Location: Sydney
Posts: 61
 

Default Re: Resize thumbnails with GD

Hi love how easy this is to use! I applied it to my detailed images!!
I have 4.11 heres the code if anyone wants it!
Code:
{* $Id: product_images.tpl,v 1.16.2.1 2006/05/18 08:02:40 max Exp $ *} {if $images ne ""} {capture name=dialog} <center> {section name=image loop=$images} {if $images[image].avail eq "Y"} {if $images[image].tmbn_url} <img src="./imager.php/product_thumb.jpg?width=300&amp;image={$images[image].tmbn_url}" alt="{$images[image].alt|escape}" /> {else} <img src="src={$xcart_web_dir}/image.php?id={$images[image].imageid}&amp;type=D" alt="{$images[image].alt|escape}" style="padding-bottom: 10px;" /> {/if} <br /> {/if} {/section} </center> {/capture} {include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra='width="100%"'} {/if}

Need a bit of help applying it to the normal images though?? I don't kow about the whole {include= product thumb... ) dealo?
__________________
x-cart 4.1.11 yay finally starting to get the hang of this stuff!!
site: www.slixaustralia.com.au
Reply With Quote