Page 3 of 3 FirstFirst 123
Results 21 to 30 of 30
  1. #21
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Additional Images not showing

    Quote Originally Posted by Nimbuz View Post
    Additional Images display fine on classic template.
    If Classic template works fine with additional images,
    this suggests there may be a problem with template
    where additional images do not show...

  2. #22
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Quote Originally Posted by Nimbuz View Post

    Additional Images display fine on classic template.

    (Yep, I've run out of ideas myself. ;-))
    Then it is a template issue.
    Is this a template you purchased?

    M

  3. #23
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Code:
    <!--bof Additional Product Images -->
    <?php
    /**
     * display the products additional images
     */
      require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    <!--eof Additional Product Images -->
    This is the code in my current templates tpl_product_info_display.php, isn't it looking alright?
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  4. #24
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Nope, a template I designed myself (using template_default as base ofcourse).
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  5. #25
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Quote Originally Posted by Nimbuz View Post
    Code:
    <!--bof Additional Product Images -->
    <?php
    /**
     * display the products additional images
     */
      require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    <!--eof Additional Product Images -->
    This is the code in my current templates tpl_product_info_display.php, isn't it looking alright?
    My active tpl_product_info_display.php
    Code:
    <!--bof Additional Product Images -->
    
    <!--eof Additional Product Images -->
    Compare you custom tpl_product_info_display.php to the Classic tpl_product_info_display.php.

    M

  6. #26
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Update: This isn't a template issue. ZenLightbox is messing it up, just CONFIRMED it by comparing files — one that shows additional images and the one provided in zenlightbox acrhive.

    Changes (in additional_images.php):

    Original (O): Blank
    Zen Version (ZV):
    Code:
    Line 18: 
    $images_array = array();
    O:
    Code:
      $products_image_base = ereg_replace($products_image_extension . '$', '', $products_image);
    ZV:
    Code:
      $products_image_base = str_replace($products_image_extension . '$', '', $products_image);
    O:
    Code:
      $products_image_match = ereg_replace($products_image_extension, '', $products_image_match) . '_';
    ZV:
    Code:
    $products_image_match = str_replace($products_image_extension, '', $products_image_match) . '_';
    O:
    [/code]
    $products_image_directory = ereg_replace($products_image, '', substr($products_image, strrpos($products_image, '/')));
    [/code]
    Z:
    Code:
    $products_image_directory = str_replace($products_image, '', substr($products_image, strrpos($products_image, '/')));
    O:
    Code:
    $products_image_directory = DIR_WS_IMAGES . ereg_replace($products_image_directory, '', $products_image) . "/";
    ZV:
    Code:
    $products_image_directory = DIR_WS_IMAGES . str_replace($products_image_directory, '', $products_image) . "/";
    O:
    Code:
    if ($products_image_base . ereg_replace($products_image_base, '', $file) == $file) {
    ZV:
    Code:
    if ($products_image_base . str_replace($products_image_base, '', $file) == $file) {
    O: Blank/None
    ZV:
    Code:
    	// bof Zen Lightbox v1.4 aclarke 2007-09-22
    	if (ZEN_LIGHTBOX_STATUS == 'true') {
    	
        $script_link = '<script language="javascript" type="text/javascript"><!--' . "\n" . 'document.write(\'' . ($flag_display_large ? '<a href="' . zen_lightbox($products_image_large, addslashes($products_name), LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" title="' . addslashes($products_name) . '">' . $thumb_slashes . '<br />' . TEXT_CLICK_TO_ENLARGE . '</a>' : $thumb_slashes) . '\');' . "\n" . '//--></script>';
    	
    	} else {
    ..there're a few more changes.

    I'm no PHP guy, can someone please look into it? Its confirmed that this particular zenlightbox version of additional_images.php is blocking the additional images, so you won't be wasting your time.

    Thanks!
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  7. #27
    Join Date
    Jan 2007
    Location
    1.5 miles from Home
    Posts
    674
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Quote Originally Posted by Nimbuz View Post
    Update: This isn't a template issue. ZenLightbox is messing it up, just CONFIRMED it by comparing files — one that shows additional images and the one provided in zenlightbox acrhive.


    I'm no PHP guy, can someone please look into it? Its confirmed that this particular zenlightbox version of additional_images.php is blocking the additional images, so you won't be wasting your time.

    Thanks!
    Have you check in the thread for Zen Lightbox for a fix?
    If not here is the link to it.
    http://forum.zen-cart.com/showthread...=45314&page=79
    Another
    http://forum.zen-cart.com/showthread...=45314&page=72

    M

  8. #28
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    I contact the author (Alex Clarke) and he didn't seem to have a solution.

    But well, THIS WORKED!
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  9. #29
    Join Date
    Jul 2009
    Posts
    1
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Hi -- the link to your fix for this appears to have expired -- the page no longer be there. I really need to know how to fix this issue with additional images not displaying. Could I bother you to post it, please? thanks a million

  10. #30
    Join Date
    Jul 2006
    Location
    Montreal, Canada
    Posts
    2,279
    Plugin Contributions
    0

    Default Re: Additional Images not showing

    Quote Originally Posted by megan43 View Post
    Hi -- the link to your fix for this appears to have expired -- the page no longer be there. I really need to know how to fix this issue with additional images not displaying. Could I bother you to post it, please? thanks a million
    here is the correct link

    http://www.zen-cart.com/forum/showpo...&postcount=720

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Additional Images Not showing in IE
    By scrapn4me in forum General Questions
    Replies: 3
    Last Post: 23 Sep 2009, 07:38 AM
  2. Additional Images Not Showing
    By limelites in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 31 Jan 2009, 07:57 PM
  3. additional images not showing up
    By BekahRuth in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 8 Oct 2008, 12:55 AM
  4. Additional Images not showing up
    By tweakservers in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 29 Jul 2008, 10:14 PM
  5. Additional Images not showing in IE 7
    By Ohmania in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 26 Mar 2007, 11:58 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