Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2008
    Posts
    76
    Plugin Contributions
    0

    Default Problem w-Multiple Product Images in Subdirectory

    URL: s t o r e . f r e n c h t e a c h e r s . o r g
    Zen Cart 1.5.5e (installed via FTP upload and run zc_install / customized template based on default temp)
    HTTP Server: Apache
    PHP Version: 5.6.31 (Zend: 2.6.0)
    Database: MySQL 5.7.19



    I am having trouble adding multiple images for a product. I have read the multiple images tutorial here: https://www.zen-cart.com/content.php...s-to-a-product and accordingly, named my items:
    nfw-tshirt.jpg
    nfw-tshirt1.jpg
    nfw-tshirt2.jpg

    Everything is fine if I upload into the /images directory (first uploading nfw-tshirt2, then nfw-tshirt1, then nfw-tshirt). I have _MED and _LRG versions in their respective folders and those are working well also.

    However, if I try to install images in a subdirectory, ie, images/merch (as well as images/large/merch, etc) then the additional pictures do not show up. The directory structure is as follows:

    /images/large/merch

    /images/medium/merch

    /images/merch

    Is it possible to use a subdirectory and am I just naming things incorrectly, or do I need to upload everything in images?

    Thanks

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

    Default Re: Problem w-Multiple Product Images in Subdirectory

    Quote Originally Posted by lindagal2 View Post


    I am having trouble adding multiple images for a product. I have read the multiple images tutorial here: https://www.zen-cart.com/content.php...s-to-a-product and accordingly, named my items:
    nfw-tshirt.jpg
    nfw-tshirt1.jpg
    nfw-tshirt2.jpg

    Everything is fine if I upload into the /images directory (first uploading nfw-tshirt2, then nfw-tshirt1, then nfw-tshirt). I have _MED and _LRG versions in their respective folders and those are working well also.

    However, if I try to install images in a subdirectory, ie, images/merch (as well as images/large/merch, etc) then the additional pictures do not show up. The directory structure is as follows:

    /images/large/merch

    /images/medium/merch

    /images/merch

    Is it possible to use a subdirectory and am I just naming things incorrectly, or do I need to upload everything in images?

    Thanks
    From memory, to use subdirectories you need to use underscores as the separator
    nfw-tshirt.jpg
    nfw-tshirt_1.jpg
    nfw-tshirt_2.jpg

    See details here

  3. #3
    Join Date
    Jan 2008
    Posts
    76
    Plugin Contributions
    0

    Default Re: Problem w-Multiple Product Images in Subdirectory

    Thanks so much ... putting an underscore as separator (_01, _02, etc) when using a subdirectory worked like a charm!

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    6,978
    Plugin Contributions
    63

    Default Re: Problem w-Multiple Product Images in Subdirectory

    FWIW, I've noted that discrepancy in my blog.

 

 

Similar Threads

  1. Multiple Images Problem ... Again
    By cyberoidx in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 27 Jul 2008, 06:03 PM
  2. Multiple Images problem LINDA HELPPP!!!!! LOL
    By PetesTown in forum Setting Up Categories, Products, Attributes
    Replies: 25
    Last Post: 31 Mar 2008, 06:20 PM
  3. Multiple images problem
    By startrek in forum Templates, Stylesheets, Page Layout
    Replies: 18
    Last Post: 18 Mar 2007, 03:09 PM
  4. Problem Copying Site to SubDirectory
    By kenaniah in forum General Questions
    Replies: 4
    Last Post: 28 Aug 2006, 07:03 AM
  5. Problem displaying multiple images
    By gg66 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Jul 2006, 02:25 AM

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