Results 1 to 6 of 6
  1. #1
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Why won't my multiple images show up?

    Hi,

    I've followed the tutorial here:
    https://www.zen-cart.com/tutorials/index.php?article=58

    From the product page in the zen cart admin I've uploaded 50mm_clip_01.jpg as my base image to the main image directory in my root.

    I've then uploaded the following files to my /images folder in the root:
    50mm_clip_02.jpg
    50mm_clip_03.jpg
    50mm_clip_04.jpg

    Now, should I see all four images on my product description page? Because I'm not. Or have I misunderstood the tutorial in some way? I'm totally stumped ...why is it that the simple things always become the most time consuming?! :)

    Thanks!

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Why won't my multiple images show up?

    You've got TWO underscores in your image names - you must have only ONE, to designate the additional images:

    Original image

    50mm_clip_01.jpg

    Should be:

    50mm-clip.jpg

    Additional images currently:

    50mm_clip_02.jpg
    50mm_clip_03.jpg
    50mm_clip_04.jpg


    Should be

    50mm-clip_01.jpg
    50mm-clip_02.jpg
    50mm-clip_03.jpg

  3. #3
    Join Date
    Dec 2007
    Location
    London
    Posts
    184
    Plugin Contributions
    0

    Default Re: Why won't my multiple images show up?

    Thanks for the lightning fast reply - much appreciated. Works perfectly! I assume I can move the position of the additional images from within the template so they're below the base image?

    Thanks!

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Why won't my multiple images show up?

    The file that controls the position of elements on the Product Information page is:

    /includes/templates/template_default/templates/tpl_product_info_display.php

    The page elements are designated (enclosed) by <!--BOF xxxx --> and <!-- EOF --> comment tags.

    You can CUT these from the code, and PASTE them again above or below other elements.

    When you've made the edits, save the file in your CUSTOM template folder:

    /includes/templates/CUSTOM/templates/tpl_product_info_display.php

    Additionally, use the CSS to control finer positioning.

  5. #5
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Why won't my multiple images show up?

    ... just to mention additional image names...

    I understand it's OK to have more than one underscore ... the issue is on how ZC recognises what base image an additional image relates to.

    In your original case...

    50mm_clip_01.jpg (Main Image)
    50mm_clip_02.jpg
    50mm_clip_03.jpg
    50mm_clip_04.jpg

    ... would probably STILL work if

    50mm_clip.jpg (Main Image)
    50mm_clip_01.jpg
    50mm_clip_02.jpg
    50mm_clip_03.jpg

    What ZC does is find the FULL name of the main image first:

    50mm_clip.jpg

    ... which is says the RED part above, is the BASE NAME... Then (for example) additional images have the base name + _01.jpg , etc...

    50mm_clip_01.jpg

    ... and so on.

  6. #6
    Join Date
    Oct 2007
    Posts
    134
    Plugin Contributions
    0

    Default Re: Why won't my multiple images show up?

    I have the same problem.
    I uploaded the main image as yellowdupatta.jpg
    and the other were yellowdupatta_01.jpg and yellowdupatta_02.jpg
    but ZC still shows only the one picture.
    kindly help me.

 

 

Similar Threads

  1. v150 Why can't I show multiple images?
    By callmeal in forum Upgrading to 1.5.x
    Replies: 60
    Last Post: 2 Jul 2012, 10:05 PM
  2. Multiple categories link manager - won't show above 253
    By fakeDecoy in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 19 Oct 2011, 03:11 PM
  3. Multiple images won't display
    By bigdiogi in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 Feb 2011, 08:12 PM
  4. Why won't Flash using XML file load images?
    By wasana in forum Templates, Stylesheets, Page Layout
    Replies: 30
    Last Post: 2 Dec 2010, 07:13 PM
  5. paygate Payfast Payment module - why won't it show up?
    By johanh in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 Dec 2009, 07:57 PM

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