Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2008
    Location
    Orlando, FL
    Posts
    3
    Plugin Contributions
    0

    help question How do I show the main image as a thumbnail with the additional images?

    Does anyone know of an add on that will show the main product image as a thumbnail along with the additional images? I am already using the Swap Images via MouseOver or Click add on to make the main image swap with a mouse click but it would be helpful if the main image would show with the additional images without having to upload it twice.

    If not it looks like modifying the includes\modules\additional_images.php file can do it but this is not necessarily easy for me. Your help is appreciated.

  2. #2
    Join Date
    Nov 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: How do I show the main image as a thumbnail with the additional images?

    Just solved this problem on my own. Thought that someone else could use the information.

    PHP Code:
    $images_array[] = substr_replace($products_image_match,'',-1).$products_image_extension
    I added this snippet to line 58 before the sizeof and sort of the images_array of the includes/YOUR_TEMPLATE_NAME/additional_images.php

    That should call the correct image and give you a thumbnail of your main image along with the additional images.

    Hope it helps.

  3. #3
    Join Date
    Oct 2008
    Location
    Netherlands
    Posts
    26
    Plugin Contributions
    0

    Default Re: How do I show the main image as a thumbnail with the additional images?

    nice... was planning to do this, so u saved me some time with this ;)

  4. #4
    Join Date
    Jan 2011
    Posts
    6
    Plugin Contributions
    0

    Default Re: How do I show the main image as a thumbnail with the additional images?

    Thanks for posting this information. I have been wanting to do the same for my zen store, but I’m not adept at knowing where to change files or the specific code to enter.

    I have a gloss black template, so my files may be sorted a little differently than yours.
    My additional images.php file has:

    Line 31 to Line 33:
    if (!defined('IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE')) define('IMAGE_ADDITIONAL_DISPLAY_LINK_EVEN_WHEN_NO_LARGE','Yes');

    $images_array = array();


    Line 119 to 123
    : if (sizeof($images_array)) {

    sort($images_array);

    }

    Would either of these be correct for the placement of the code? Would I just add the EXACT code you entered above, directly above Line 119? As I am new to coding, help in what to enter and where would be a huge help.

 

 

Similar Threads

  1. Additional Product images to the side of main image
    By kezan98 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 8 Oct 2012, 01:48 AM
  2. Main Image Thumbnail Appear With Additional Images
    By cv733 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 24 Jan 2011, 08:38 PM
  3. Swap Main Image with Additional Images
    By Cyopz in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 21 Dec 2008, 07:59 PM
  4. How to align the main and additional product images in the listing?
    By mishutkadesign in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 17 Jul 2008, 02:49 PM
  5. How to move additional images to the right of main product image
    By davale in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 20 Sep 2006, 02:27 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