Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

First detailed image instead of thumbnail

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #31  
Old 11-10-2006, 03:33 AM
 
pnm pnm is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 99
 

Default Re: First detailed image instead of thumbnail

Light Speed,

I'm trying to make the changes to my code, but can't find the area that needs changing in my Product_images.tpl as per your instructions. Below is a copy of whats in my Product_images.tpl can you please let me know where the code needs to be changed.

Your help would be greatly appreciated.

{if $images ne ""}
{capture name=dialog}
<DIV align="center">
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
<IMG src="{$images[image].tmbn_url}" alt="{$images[image].alt|escape}">
{else}
<IMG src="{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}" alt="{$images[image].alt|escape}">
{/if}
<BR>
<BR>
{/if}
{/section}
</DIV>
{/capture}
{if $smarty.capture.dialog ne ""}
{include file="dialog.tpl" title=$lng.lbl_detailed_images content=$smarty.capture.dialog extra="width=100%"}
{/if}
{/if}
__________________
version 4.018 xcart
Reply With Quote
  #32  
Old 11-12-2006, 03:14 AM
 
pnm pnm is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 99
 

Default Re: First detailed image instead of thumbnail

Thanks to Balinor prob solved and works nicely.

Great mod!
__________________
version 4.018 xcart
Reply With Quote
  #33  
Old 01-16-2007, 01:54 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default Re: First detailed image instead of thumbnail

Hi

Could you please tell me what code you changed on product_images.tpl?

thanks
Reply With Quote
  #34  
Old 01-16-2007, 02:59 AM
 
pnm pnm is offline
 

Advanced Member
  
Join Date: Jun 2006
Posts: 99
 

Default Re: First detailed image instead of thumbnail

Have a look at this thread

http://forum.x-cart.com/showthread.php?t=26478
__________________
version 4.018 xcart
Reply With Quote
  #35  
Old 07-20-2007, 03:33 AM
 
wendy.email wendy.email is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: Canada
Posts: 90
 

Default Re: First detailed image instead of thumbnail

Hi there, I want to do this with my version 4.1.8. can anyone instruct me? please.
__________________
Version 4.1.11
Reply With Quote
  #36  
Old 07-20-2007, 03:35 AM
 
wendy.email wendy.email is offline
 

Advanced Member
  
Join Date: Jun 2005
Location: Canada
Posts: 90
 

Default Re: First detailed image instead of thumbnail

basically, i like to show product image first center on top, then description and others on the bottom... i can't seem to find mod for 4.1.8.
am i missing something
__________________
Version 4.1.11
Reply With Quote
  #37  
Old 07-20-2007, 05:39 AM
 
mangoboom mangoboom is offline
 

Advanced Member
  
Join Date: Apr 2004
Posts: 97
 

Default Re: First detailed image instead of thumbnail

Hi

please look at http://www.sugarrays.co.uk/shop/product.php?productid=886&cat=1&page=1 is this what you are trying to achieve? So you would have larger image at the top and then the description of the product, then finally rest of your detailed images?

if so then go to the link provided in the previous posts.
__________________
Using x cart 4.0.19
Reply With Quote
  #38  
Old 11-24-2007, 10:36 AM
 
pegpub pegpub is offline
 

Member
  
Join Date: May 2004
Location: Sherman, TX
Posts: 18
 

Default Re: First detailed image instead of thumbnail

I have been using this mod with my live cart version 4.0.18 and love it. We are getting ready to migrate to 4.1.19 and the location of one file has changed and the other doesn't seem to exist.

So does anyone know how to implement this for 4.1.x branch?

Scott Merritt
www.pegasuspublishing.com/xcart/home.php
xcart 4.0.18 live
xcart 4.1.19 test
Reply With Quote
  #39  
Old 09-01-2008, 08:33 AM
 
gargonzo gargonzo is offline
 

Senior Member
  
Join Date: Nov 2004
Posts: 171
 

Default Re: First detailed image instead of thumbnail

hi folks--- is there a simple way to get this working on version: X-Cart version 4.1.9?

please advise asap. thanks
__________________
xcart ver 4.xx/linux/php
Reply With Quote
  #40  
Old 01-21-2009, 10:49 AM
 
GreatLakesVacuum GreatLakesVacuum is offline
 

eXpert
  
Join Date: Jan 2009
Posts: 286
 

Default Re: First detailed image instead of thumbnail

Quote:
Originally Posted by mangoboom
Hi

please look at http://www.sugarrays.co.uk/shop/product.php?productid=886&cat=1&page=1 is this what you are trying to achieve? So you would have larger image at the top and then the description of the product, then finally rest of your detailed images?

if so then go to the link provided in the previous posts.

Looks like you have since changed the way that works a lot, how do I do it like you did it?!
__________________
X-Cart 4.5.4 Gold (Live Business Site)
X-Cart 5.1.9 Business (In Development Now)
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020