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

Product thumbnail zoom mod?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 08-09-2003, 08:51 PM
 
slimmedia slimmedia is offline
 

Member
  
Join Date: May 2003
Posts: 23
 

Default

Yes, that's what this modification is supposed to do.

Are you not seeing the links or are they somehow displaying incorrectly?

Perhaps if I took a look at your site I could figure out what is wrong. If you don't want to post the address you could send me a private message.
Reply With Quote
  #12  
Old 08-11-2003, 10:19 AM
  DataViking's Avatar 
DataViking DataViking is offline
 

eXpert
  
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 361
 

Default

my site address is

http://www.wildshopping.com
Reply With Quote
  #13  
Old 08-12-2003, 07:20 AM
 
slimmedia slimmedia is offline
 

Member
  
Join Date: May 2003
Posts: 23
 

Default

OK, so I assume you are trying to fix pages like this one:

http://www.wildshopping.com/customer/product.php?productid=23&cat=3&page=1&XCARTSESSID= 7d9a0574f0300dfc527441d8f506a88e

If you've already made the changes I described in my first post, then here's what to do...

In an image editor, scale your screen-shot image down to a reasonable preview size.
Then log into your admin area.
Go to "Modify Product".
Enter the product number, and click "search".
Select the product and click "Modify".
In the "product thumbnail" section click "change image".
Under the heading " File on your local computer", click browse.
(This process may differ a bit depending upon your version of x-cart.)
Select the file of the new preview image on your hard drive.
And click "Open".
Then click "Apply".
Then click "Submit Changes".

At this point, your page will look a lot better because you'll have a small preview image instead of the big one. It'll also load faster.

Next, go back to the modify product screen for the same product.
Scroll down to the "Detailed images" section.
Click Browse and select the file of the high resolution image on your hard drive. (The original large screen-shot.)
In the "Alternative text" field, enter "Click to Zoom".

Then everything will look the way you want it.
Reply With Quote
  #14  
Old 08-12-2003, 08:30 AM
  DataViking's Avatar 
DataViking DataViking is offline
 

eXpert
  
Join Date: Jan 2003
Location: Las Vegas, NV
Posts: 361
 

Default

Thanks for the advice
Reply With Quote
  #15  
Old 08-12-2003, 08:55 AM
  groovico's Avatar 
groovico groovico is offline
 

X-Man
  
Join Date: Apr 2003
Location: Firetanksoftware.com
Posts: 2,326
 

Default

Nice mod slimmedia, clever quick way of doing it too
__________________
Groovico

Used by X-carters the world over:
Marketing Manager Pro Bundle For X-cart
Featured Product Manager for X-cart
Feed manager pro for X-cart

http://www.firetanksoftware.com

Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X
Reply With Quote
  #16  
Old 04-29-2005, 05:19 AM
 
dazybabes dazybabes is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 70
 

Default

I know this one is a little old but just wanted to know if you can add anything into this code so that when the image pops open the window is only as large as the image??

Any ideas anyone?
__________________
X-Cart Version 4.0.3
Reply With Quote
  #17  
Old 05-02-2005, 04:40 PM
  rkdiddy's Avatar 
rkdiddy rkdiddy is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 60
 

Default So I tried it...and it is not working...

So I tried the above code and it doesn't seem to be working...

Can some please help. I live the idea of having a zoom link...thanks!


{* $Id: product.tpl,v 1.37.2.1 2004/08/19 12:17:53 max Exp $ *}
{capture name=dialog}
<TABLE border="0" width="100%">
<FORM>
<TR>
<TD valign="top" align="left" width="30%">
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product}


{if $active_modules.Detailed_Product_Images ne ""}{include file="modules/Detailed_Product_Images/product_images_links.tpl" }{/if}


{if $smarty.get.mode ne "printable"}
[img]{$ImagesDir}/print.gif[/img]
{/if}
</TD>
<TD valign="top">
<TABLE width="100%" cellpadding="0" cellspacing="0" border="0">
<TR><TD>{$lng.lbl_sku}</TD><TD>{$product.productcode}</TD></TR>
<TR><TD>{$lng.lbl_category}</TD><TD>{$product.category_text}</TD></TR>
{if $usertype eq "A"}<TR><TD>{$lng.lbl_vendor}</TD><TD>{$product.provider}</TD></TR>{/if}
<TR><TD>{$lng.lbl_availability}</TD><TD>{if $product.forsale eq "Y"}{$lng.lbl_avail_for_sale}{elseif $product.forsale eq "B"}{$lng.lbl_pconf_bundled_descr}{elseif $product.forsale eq "H"}{$lng.lbl_hidden}{else}{$lng.lbl_disabled} {/if}</TD></TR>
<TR><TD colspan="2">




<SPAN class="Text">
{$product.descr}
</SPAN>




</TD></TR>
<TR><TD colspan="2"><FONT class="ProductDetailsTitle">{$lng.lbl_price_info}< /FONT></TD></TR>
<TR><TD class="Line" height="1" colspan="2">[img]{$ImagesDir}/spacer.gif[/img]</TD></TR>
<TR><TD colspan="2"></TD></TR>
<TR><TD width="50%">{$lng.lbl_price}</TD><TD nowrap><FONT class="ProductPriceSmall">{include file="currency.tpl" value=$product.price}</FONT></TD></TR>
<TR><TD width="50%">{$lng.lbl_quantity}</TD><TD nowrap>{$product.avail} {$lng.lbl_items_available}</TD></TR>
<TR><TD width="50%">{$lng.lbl_weight}</TD><TD nowrap>{$product.weight} {$config.General.weight_symbol}</TD></TR>
</TR></TABLE>


{include file="buttons/modify.tpl" href="product_modify.php?productid=`$product.produ ctid`"}

{include file="buttons/clone.tpl" href="process_product.php?mode=clone&productid=`$p roduct.productid`"}

{include file="buttons/delete.tpl" href="process_product.php?mode=delete&productid=`$ product.productid`"}
</TD>
</TR>
<INPUT type="hidden" name="mode" value="add">
<INPUT type="hidden" name="productid" value="{$product.productid}">
</FORM>
</TABLE>
{/capture}
{if $smarty.get.mode eq "printable"}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=440"}
{else}
{include file="dialog.tpl" title=$product.producttitle content=$smarty.capture.dialog extra="width=100%"}
{/if}
__________________
Stealth Cords - Discrete Power Cords for Automotive Enthusiasts
www.stealthcords.com
X-Cart version: 4.1.9
Reply With Quote
  #18  
Old 05-02-2005, 04:44 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That is a VERY old post, so that is why it doesn't work in your version. Just use this one, it works for 4.0:

http://forum.x-cart.com/viewtopic.php?t=11621
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #19  
Old 05-07-2005, 05:00 PM
 
bmm bmm is offline
 

Member
  
Join Date: Apr 2003
Location: Laguna Beach, Ca
Posts: 11
 

Default Re: So I tried it...and it is not working...

Quote:
"rkdiddy"So I tried the above code and it doesn't seem to be working...

Can some please help. I live the idea of having a zoom link...thanks!

Rkdiddy, balinor hit it right on!
This is the best mod for a detaled image pop up from the product thumbnail image.
It supports multiple detailed images and has Б─°nextБ─² and Б─°previousБ─² links at the top of the pop up window. If you only have one detailed image, then the Б─°nextБ─² and Б─°previousБ─² links do not show up. The mod also has auto window re-sizing for varying image sizes.
Again the thread is at;

http://forum.x-cart.com/viewtopic.php?t=11621

You can pm me and I will send you a link to my site, so you can see a live working demo.
Boomer (the author of the mod) gives a link in the thread for an example, but it does not show the multiple image capability.
__________________
Well, someone has the answer, go find them!

x-cart gold version 4.0.12
apache 1.3.33 linux
perl 5.008 linux
php 4.3.10 linux
mysql 4.0.22-standard
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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:08 PM.

   

 
X-Cart forums © 2001-2020