Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Can't get multiple images in product to work

    Can someone please help me. I have read the directions on using multiple images in products many times here http://www.zen-cart.com/content.php?100. But no matter what I do, I can't get the multiple images to show up in my products.

    I have created a directory as follows
    /images/dutchware/ and chmod it to 777.

    I have ftp uploaded the following images to that directory (/images/dutchware/).
    Tarp-flyz_1.jpg
    Tarp-flyz_2.jpg

    Then I pick Choose file and pick "Tarp-flyz_1.jpg".

    Then I went into the product and picked my upload directory to "dutchware".

    Delete Image? = N

    Overwrite Existing Image on Server? = Y

    The one images show up for the other image will not.
    What am I doing wrong that the multiple images will not show in the product?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Can't get multiple images in product to work

    If you want both Tarp-flyz_1.jpg and Tarp-flyz_2.jpg to show up for just ONE product, then you need to name them different than you're doing now:

    Tarp-flyz.jpg - would be the main image that you upload via the Admin
    Tarp-flyz_2.jpg - would be the second image

    That way it will show you all images named "
    Tarp-flyz***.jpg", where *** is any combination of additional characters.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Can't get multiple images in product to work

    Quote Originally Posted by attroll View Post
    Can someone please help me. I have read the directions on using multiple images in products many times here http://www.zen-cart.com/content.php?100. But no matter what I do, I can't get the multiple images to show up in my products.

    I have created a directory as follows
    /images/dutchware/ and chmod it to 777.

    I have ftp uploaded the following images to that directory (/images/dutchware/).
    Tarp-flyz_1.jpg
    Tarp-flyz_2.jpg

    Then I pick Choose file and pick "Tarp-flyz_1.jpg".

    Then I went into the product and picked my upload directory to "dutchware".

    Delete Image? = N

    Overwrite Existing Image on Server? = Y

    The one images show up for the other image will not.
    What am I doing wrong that the multiple images will not show in the product?
    If you choose Tarp-flyz_1.jpg as your main image
    then Tarp-flyz_2.jpg is NOT an additional image

    When Tarp-flyz.jpg is your main image
    then Tarp-flyz_1.jpg and Tarp-flyz_2.jpg are additional images for Tarp-flyz.jpg

  4. #4
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Can't get multiple images in product to work

    I have already tried what you said. I put the following in files in the /images/dutchware/ directory.

    Tarp_Flyz.jpg
    Tarp_Flyz_1.jpg
    Tarp_Flyz_2.jpg

    But doing this still will not display multiple images for my product. Any other ideas or suggestions?

  5. #5
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Can't get multiple images in product to work

    Quote Originally Posted by attroll View Post
    I have already tried what you said. I put the following in files in the /images/dutchware/ directory.

    Tarp_Flyz.jpg
    Tarp_Flyz_1.jpg
    Tarp_Flyz_2.jpg

    But doing this still will not display multiple images for my product. Any other ideas or suggestions?
    That should work.
    Check that you DON'T have any case differences
    Tarp_FLyz_2.jpg
    Tarp_Flyz_2.Jpg
    Tarp_flyz_2.jpg
    are all different and won't be additional to Tarp_Flyz.jpg

    Also have you checked that you have additional images turned on

  6. #6
    Join Date
    Dec 2007
    Posts
    103
    Plugin Contributions
    0

    Default Re: Can't get multiple images in product to work

    Ok, I found my problem. They were displaying but I did not see them because they were displayed at the bottom of the page under the product description. I did not see them because I thought they would be on the top of the page. My product description we a very long one and once I scrolled the page up I saw the additional images.

    I have another question but don't know if I should start a new thread or ask here. So here goes.

    Is there a way to change it so that my additional will display in a different location? Maybe like right under the primary image?

  7. #7
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Can't get multiple images in product to work

    Quote Originally Posted by attroll View Post
    Ok, I found my problem. They were displaying but I did not see them because they were displayed at the bottom of the page under the product description. I did not see them because I thought they would be on the top of the page. My product description we a very long one and once I scrolled the page up I saw the additional images.
    This is really why a link to the page causing issues can quickly solve problems


    Quote Originally Posted by attroll View Post
    I have another question but don't know if I should start a new thread or ask here. So here goes.

    Is there a way to change it so that my additional will display in a different location? Maybe like right under the primary image?
    Copy the file
    \includes\templates\template_default\templates\tpl_product_info_display.php
    to
    \includes\templates\YOUR_TEMPLATE\templates\tpl_product_info_display.php

    where "YOUR_TEMPLATE" is the name of your current template

    Open this file and find the code section
    PHP Code:
    <!--bof Additional Product Images -->
    <?php
    /**
     * display the products additional images
     */
      
    require($template->get_template_dir('/tpl_modules_additional_images.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_modules_additional_images.php'); ?>
    <!--eof Additional Product Images -->
    and move it to where you want it.

 

 

Similar Threads

  1. Can't get Wimpy Player to work in Product Descriptions
    By TraderDan in forum General Questions
    Replies: 4
    Last Post: 6 Jul 2009, 06:59 AM
  2. Can't get _LRG to work and naming of images
    By Staffars in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 25 Nov 2008, 12:48 AM
  3. Can't get padding to work on product listing
    By brightgirl in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 25 Feb 2008, 03:18 AM
  4. Product Images Randomly Disappeared - Now can't get them to work at all
    By charlestonrelics in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 30 Aug 2007, 02:49 AM
  5. Where? Do product image files get stored? My multiple size images aren't working
    By PetesTown in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 26 Jul 2007, 11:25 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