Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    custom image popup script only work for main image, not for additional images

    Hi

    I put this popup javascript, called ibox, to this file /includes/modules/pages/product_info/jscript_main.php

    Only the main image work. The additional images do not. How any help please?

    This is my test page.
    http://www.nokoria.com/catalog/index...&products_id=8


    Thank you,
    Last edited by gems14k; 2 Oct 2006 at 11:09 PM.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: custom image popup script only work for main image, not for additional images

    Did this work before you made the edits to the JS?

    If so start with what you changed and debug from there.

    If not, then the iBox was not designed to do this
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: custom image popup script only work for main image, not for additional images

    Quote Originally Posted by kobra
    Did this work before you made the edits to the JS?

    If so start with what you changed and debug from there.

    If not, then the iBox was not designed to do this

    It didn't work even before I edited the JS.


    I also modofied this file:

    /includes/templates/nokoria/templates/tpl_modules_main_product_image.php

    to this code:

    <?php require(DIR_WS_MODULES . zen_get_module_directory(FILENAME_MAIN_PRODUCT_IMAGE)); ?>
    <div id="productMainImage" class="centeredContent back"><script language="javascript" type="text/javascript"></script>

    <?php
    echo '<a href="' . $products_image_large . '" rel="ibox" title="' . zen_output_string($products_name) . '">' . zen_image($products_image_medium, $products_name, MEDIUM_IMAGE_WIDTH, MEDIUM_IMAGE_HEIGHT) . '<br /><span class="imgLink">' . TEXT_CLICK_TO_ENLARGE . '</span></a>';
    ?>
    </div>


    Thank you,

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

    Default Re: custom image popup script only work for main image, not for additional images

    Sorry,

    I am generally a css type & not a php type...you need a coder here...
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Jul 2005
    Posts
    97
    Plugin Contributions
    0

    Default Re: custom image popup script only work for main image, not for additional images

    Quote Originally Posted by kobra
    Sorry,

    I am generally a css type & not a php type...you need a coder here...
    Thank you, kobra. I appreciate your help. I only use one image for each product. So I guess I dont need to fixed it yet. Thank you anyways.
    Last edited by gems14k; 4 Oct 2006 at 05:25 AM.

 

 

Similar Threads

  1. v153 Remove image popup from additional images
    By JimboGee in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 18 Jul 2015, 03:17 PM
  2. v150 multiple images popup only to main products image
    By abazou in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Feb 2012, 03:31 PM
  3. v150 multiple images popup only to main product image
    By abazou in forum General Questions
    Replies: 1
    Last Post: 28 Feb 2012, 03:27 PM
  4. Image captions for additional images?
    By creativearc in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 15 Oct 2010, 12:45 PM
  5. disable image handler hover for additional images?
    By etoile03 in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 23 Sep 2010, 07:13 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR