Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2006
    Posts
    31
    Plugin Contributions
    0

    Default No Multiple Images

    Hi

    I must be missing something but just can't see it!!! I just cannot get any multiple images showing up on the Product Page.

    http://olgaedwards.ltd.uk/catalogue/...&products_id=1

    I have this set up -

    For product general, show additional images is set to true.

    Image structure -

    images/necklaces
    carneck_1.jpg
    carneck_2.jpg
    carneck_3.jpg

    images/medium/necklaces
    carneck_1_MED.jpg

    images/large/necklaces
    carneck_1_LRG.jpg
    carneck_2_LRG.jpg
    carneck_3_LRG.jpg

    All directories and files have attributes set to 777

    Do I need to set up anything with a template?

    Totally stuck and out of ideas

    Kevin

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: No Multiple Images

    The base image would need to be:
    carneck.jpg

    It looks like you are using:
    carneck_1.jpg

    That makes the additional images need to be:
    carneck_1_01.jpg
    carneck_1_02.jpg
    carneck_1_03.jpg
    carneck_1_abc.jpg
    carneck_1_something.jpg
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: No Multiple Images

    If you are running IH2, then you may need to apply this fix to bmz_image_handler.class.php: (It saved my day when I had exactly the same issue )
    Replace from this line:
    // we should parse old parameters here and possibly merge some inc case they're duplicate

    all the way to the end of the file.

    PHP Code:
    // we should parse old parameters here and possibly merge some inc case they're duplicate
            
    $parameters .= ($parameters != '') ? ' ' '';
            if (!(
    $_GET['main_page']==FILENAME_PRODUCT_INFO)) {
            return 
    $parameters 'style="position:relative" onmouseover="showtrail(' "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
          } else {
            return 
    $parameters 'style="position:relative" onmouseover="showtrail(' "\'$products_image_zoom\',\'$alt\',$width,$height,$zoomwidth,$zoomheight,this," $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
            }
          } 
        }
        }
        
        

    The original thread is here:
    http://www.zen-cart.com/forum/showth...itional+images

    If you are not running IH2 then I would suggest continueing to search using the term "additional images." There are a number of threads out there.

    Good luck! Tim

  4. #4
    Join Date
    Nov 2006
    Posts
    31
    Plugin Contributions
    0

    Default Re: No Multiple Images

    Quote Originally Posted by Ajeh View Post
    The base image would need to be:
    carneck.jpg

    It looks like you are using:
    carneck_1.jpg

    That makes the additional images need to be:
    carneck_1_01.jpg
    carneck_1_02.jpg
    carneck_1_03.jpg
    carneck_1_abc.jpg
    carneck_1_something.jpg

    Ajeh Brilliant!!!!

    That worked great

    Thanks

    Kevin

  5. #5
    Join Date
    May 2007
    Posts
    56
    Plugin Contributions
    0

    Default Re: No Multiple Images

    Meltdown, you SAVED MY LIFE. Thanks for posting this, because I was having a really hard time finding the fix. Bless your heart. --traypup


    Quote Originally Posted by MeltDown View Post
    If you are running IH2, then you may need to apply this fix to bmz_image_handler.class.php: (It saved my day when I had exactly the same issue )
    Replace from this line:
    // we should parse old parameters here and possibly merge some inc case they're duplicate

    all the way to the end of the file.

    PHP Code:
    // we should parse old parameters here and possibly merge some inc case they're duplicate
            
    $parameters .= ($parameters != '') ? ' ' '';
            if (!(
    $_GET['main_page']==FILENAME_PRODUCT_INFO)) {
            return 
    $parameters 'style="position:relative" onmouseover="showtrail(' "'$products_image_zoom','$alt',$width,$height,$zoomwidth,$zoomheight,this," $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
          } else {
            return 
    $parameters 'style="position:relative" onmouseover="showtrail(' "\'$products_image_zoom\',\'$alt\',$width,$height,$zoomwidth,$zoomheight,this," $this->zoom['startx'].','.$this->zoom['starty'].','.$this->zoom['width'].','.$this->zoom['height'].');" onmouseout="hidetrail();" ';
            }
          } 
        }
        }
        
        

    The original thread is here:
    http://www.zen-cart.com/forum/showth...itional+images

    If you are not running IH2 then I would suggest continueing to search using the term "additional images." There are a number of threads out there.

    Good luck! Tim

  6. #6
    Join Date
    Mar 2007
    Location
    AZ
    Posts
    1,911
    Plugin Contributions
    2

    application error Re: No Multiple Images

    Thanks! This is EXACTLY the fix I needed too!

    Now that the additional images are showing up - how do I make them bigger? Admin - images - then which setting?

    Thanks,
    Tina

  7. #7
    Join Date
    Mar 2008
    Posts
    148
    Plugin Contributions
    0

    Default Re: No Multiple Images

    admin>config>imags

    Small, medium and large images can all be adjusted in there.

    Your medium images need to be the same size as your product images in order for the popup to work.

    Another note; you don't want any underscores in your image names, popups won't work if there are, this can also cause problems with multiple products sharing images.

  8. #8
    Join Date
    Feb 2006
    Posts
    45
    Plugin Contributions
    0

    Default Re: No Multiple Images

    Quote Originally Posted by Qwert302 View Post
    admin>config>imags

    Small, medium and large images can all be adjusted in there.

    Your medium images need to be the same size as your product images in order for the popup to work.

    Another note; you don't want any underscores in your image names, popups won't work if there are, this can also cause problems with multiple products sharing images.

    Hi

    I'm thankful i found this thread as i could not understand why additional images aren't showing up.

    As for not having the underscore in image names, IH2 automatically puts them when you add in a new image, doesn't it?

    The problem is that all i can do is just hover over them, i cannot click on it to pop up the large image. Anyone know why that could be happening? I'm using zen 1.2.7 with IH2 for v1.2.x.

    Also, i'm still unclear as to how IH2 works. I mean does the images it resizes only go in the bmz_cache directory or does it also create them in the images directory? Cause in my case, they all only seem to be in the bmz_cache directory & the 'medium' & 'large' folder under the 'images' directory are empty.

    Can anyone redirect me to some thread where i can have a tutorial/guide to the basics of IH2?

    Thanks.

 

 

Similar Threads

  1. v150 Duplicate images appear for multiple images
    By shamanicconnection in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 27 Mar 2013, 01:21 AM
  2. Multiple language multiple category images?
    By Luxifer in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 9 Feb 2011, 07:17 PM
  3. Multiple Images?
    By FashionMostWanted in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 24 Feb 2007, 03:01 AM

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