Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: Category Image Zoom

  1. #1
    datzent83 is offline Member
    Join Date
    Jul 2006
    Posts
    82

    Default Category Image Zoom

    I am working on image zoom on category pages. I got most of it working, but for some reason instead of the specific images, it pulls all the images.

    Click on the "Quick View" under the images: http://store.motif56.com/c-4-wide-belts.aspx

    *---My Code---*


    <tr><td align="center" valign="top">
    <div class="highslide-gallery">

    <a id="thumb1" href='http://store.motif56.com/images/product/large/{ProductID}.jpg' onclick="return hs.expand(this, miniGalleryOptions1)" title="{$pName}">Quick View</a>

    <div class="hidden-container">
    <a class='highslide' href='http://store.motif56.com/images/product/large/{ProductID}.jpg' onclick="return hs.expand(this)" title="{$pName}">
    <img src='http://store.motif56.com/images/product/icon/{ProductID}.jpg' alt=''/></a>
    </div>

    <div class="hidden-container">
    <a class='highslide' href='http://store.motif56.com/images/product/large/{ProductID}_2_.jpg' onclick="return hs.expand(this)" title="{$pName}">
    <img src='http://store.motif56.com/images/product/icon/{ProductID}_2_.jpg' alt=''/></a>
    </div>
    </div>
    </td></tr>

  2. #2
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    very cool. it seems to be working for me, did you fix the site? if so, posting what you did would be helpful to other site/developers.
    AspDotNetStorefront
    Shopping Cart

  3. #3
    datzent83 is offline Member
    Join Date
    Jul 2006
    Posts
    82

    Default

    It doesn't quite work properly. If you notice on the right all the images from that category are loaded. Instead, only the images from the selected QuickView have to be loaded. That's what I am trying to fix but can't figure out.

  4. #4
    Rob is offline Senior Member
    Join Date
    Aug 2004
    Posts
    3,037

    Default

    you have to constrain by productid. right now you are querying by category id
    AspDotNetStorefront
    Shopping Cart

  5. #5
    datzent83 is offline Member
    Join Date
    Jul 2006
    Posts
    82

    Default

    But I am using product id {ProductID}.