Results 1 to 5 of 5
  1. #1
    Join Date
    Oct 2011
    Posts
    29
    Plugin Contributions
    0

    Default Issue with adding multiple product image

    Hello!
    I have an issue with adding a second image for a product.
    You can see it on this page:
    http://www.shoppingdoll.se/index.php...roducts_id=265

    The second image is below the first one.
    I have an issue with the magnifyer glass missing and instead I see the text "Större bild", which means "larger picture" in Swedish. The second issue is that when I click to see the larger image, I get a broken image and when I try to see the image address, I see something like "lightbox ico".

    Have I done something wrong?

    The original product image is called toy05119.jpg, so I just named the second image to toy05119-2.jpg and added to the same /images/ directory.

    Thanks for all your help!

  2. #2
    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 '%;"'

  3. #3
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Issue with adding multiple product image

    You are using a template monster template and they are notorious for not allowing standard cart functions to work
    Zen-Venom Get Bitten

  4. #4
    Join Date
    Sep 2008
    Posts
    210
    Plugin Contributions
    21

    Default Re: Issue with adding multiple product image

    Quote Originally Posted by kobra View Post
    You are using a template monster template and they are notorious for not allowing standard cart functions to work
    Yes, I think so!
    Our Site: http://zucando.com
    Marketing Plugins: Marketing Modules
    Free Response Templates: Responsive Templates

  5. #5
    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