X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   How to get large image on thumbnail hover (https://forum.x-cart.com/showthread.php?t=53490)

anandnadaar 04-28-2010 03:02 AM

How to get large image on thumbnail hover
 
Hi,

I wanted to have the large picture on the hover of thumbnail in the product list.
I was able to manage this but one thing that is not getting cracked is that I get the same image on all the hovers on product thumbnail.
For example:
Product Thumbnail A - Mouseover image of product A
Product Thumbnail B - Mouseover image of product A (image should be of product B)
Product Thumbnail C - Mouseover image of product A (image should be of product C)

How to get the exact URL of the larger image of product ??
This is how I did it -
In the products_t.tpl
HTML Code:

<a href="{$product.alt_url|default:$product.page_url|amp}" class="image-link" data-tooltip="sticky3">
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a>
<div id="mystickytooltip" class="stickytooltip">
<div id="sticky3" class="atip">
{include file="product_thumbnail.tpl" productid=$product.productid product=$product.product tmbn_url=$product.tmbn_url}
</div>
<div class="stickystatus"></div>


Any help ????

Regards,

anandnadaar 04-30-2010 01:57 AM

Re: How to get large image on thumbnail hover
 
Any idea guys.. I really hate bumping threads but....

minfinger 05-02-2010 05:37 PM

Re: How to get large image on thumbnail hover
 
Tell me where to turn that on and I'll take a look at it for you...

anandnadaar 05-02-2010 11:47 PM

Re: How to get large image on thumbnail hover
 
minfinger-

I want that to applied on the category list -
http://www.x-cartdemo.com.au/CD-audio-orderby0-p-1-c-105.html

The above demo has the list of products and all I want is when the mouse is over the thumbnail image the original size image should zoom.
For example this -

http://www.herbalhealthcarestore.com/index.php?act=viewCat&catId=9


Please let me know how to do it, I will really appreciate your help!

regards,
Anand

minfinger 05-03-2010 08:20 AM

Re: How to get large image on thumbnail hover
 
Well obviously it's a javascript. But I've been through all the scripts on that site and I can't see what's doing it. The base source doesn't have a call to a script or a mouseover command.

Sorry, but that's got me. Very cool though.

Regs 05-03-2010 09:41 AM

Re: How to get large image on thumbnail hover
 
http://www.magictoolbox.com/magiczoom/

That's what you want - you can turn on/off the hover on thumbs in lists.

Cheers,

Regs.

anandnadaar 05-03-2010 11:28 AM

Re: How to get large image on thumbnail hover
 
Hi,

MagicZoom as far as I know only can zoom the images in the product details and not the product images on the list in a Category.
Let me know if I am wrong on this.. so I can buy that mod immediately..

Also I am almost there with the Dynamicdrive image hover script.. but the only I am stuck is that it only displays the large image of the first product instead of each product image.
Otherwise I have done 90% of it, but the image of every products.

Help me if you any information on finding the exact url of large image while you are in the Cartegory showing the list of products.

Anand

unclewalt 08-28-2010 11:33 AM

Re: How to get large image on thumbnail hover
 
MagicToolBox is by far the best image mod out there. Plus their support has been amazing. Most emails are answered within an hour. I hightly recommend taking a look at their mod(s).

Walt


All times are GMT -8. The time now is 03:48 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.