Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Mar 2016
    Posts
    14
    Plugin Contributions
    0

    Default Re: Issue with adding multiple product image

    5 images was missing, i think the lightbox module has not been fully installed,
    Name:  404.jpg
Views: 164
Size:  21.5 KB

    edit includes/modules/YOUR_TEMPLATE/additional_images.php (OR includes/modules/additional_images.php),
    find the code below:

    PHP Code:
    $script_link '<script language="javascript" type="text/javascript"><!--' "\n" 'document.write(\'' . ($flag_display_large '<a href="javascript:popupWindow(\\\'' $large_link '\\\')">' $thumb_slashes '<br />' TEXT_CLICK_TO_ENLARGE '</a>' $thumb_slashes) . '\');' "\n" '//--></script>'
    then change the HREF attribute to $base_image like this:

    PHP Code:
    $script_link sprintf('<a href="%s" target="_top">%s<span class="zoom"></span></a>'$base_image$thumb_slashes); 
    finally, add the `image` css class to the params:
    find the code below:
    PHP Code:
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' 'style="width:' $col_width '%;"'
    then add image class like this:
    PHP Code:
    $list_box_contents[$row][$col] = array('params' => 'class="image additionalImages centeredContent back"' ' ' 'style="width:' $col_width '%;"'

  2. #2
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default Re: Issue with adding multiple product image

    Hello Drint!
    Thanks for your quick response and help!
    Is there any chance that you can be even more specific when it comes to the HREF part?
    Becasue I seem to be removing to much when trying to replacing so that the product info disappears...

    If you have the time and will, could you add the HREF area that I need to change and mark everything in red that needs to be replaced? And then add the correct HREF code that I should enter there instead?

    Thanks for your patience!



    Quote Originally Posted by DrInt View Post
    5 images was missing, i think the lightbox module has not been fully installed,
    Name:  404.jpg
Views: 164
Size:  21.5 KB

    edit includes/modules/YOUR_TEMPLATE/additional_images.php (OR includes/modules/additional_images.php),
    find the code below:

    PHP Code:
    $script_link '<script language="javascript" type="text/javascript"><!--' "\n" 'document.write(\'' . ($flag_display_large '<a href="javascript:popupWindow(\\\'' $large_link '\\\')">' $thumb_slashes '<br />' TEXT_CLICK_TO_ENLARGE '</a>' $thumb_slashes) . '\');' "\n" '//--></script>'
    then change the HREF attribute to $base_image like this:

    PHP Code:
    $script_link sprintf('<a href="%s" target="_top">%s<span class="zoom"></span></a>'$base_image$thumb_slashes); 
    finally, add the `image` css class to the params:
    find the code below:
    PHP Code:
    $list_box_contents[$row][$col] = array('params' => 'class="additionalImages centeredContent back"' ' ' 'style="width:' $col_width '%;"'
    then add image class like this:
    PHP Code:
    $list_box_contents[$row][$col] = array('params' => 'class="image additionalImages centeredContent back"' ' ' 'style="width:' $col_width '%;"'

 

 

Similar Threads

  1. Replies: 2
    Last Post: 1 May 2014, 08:13 PM
  2. Replies: 3
    Last Post: 10 Jan 2013, 05:57 AM
  3. v139h Question adding multiple images with Image Handler
    By brians34 in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 11 Feb 2012, 07:09 PM
  4. Issue with my multiple product images! HELP PLEASE!!
    By Horrific_ending in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 27 Dec 2011, 08:16 AM
  5. Trouble with adding multiple images to one product
    By Makrista in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 1 Sep 2008, 08:18 PM

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