Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Small, medium, large versions of product images--I've gotten mixed messages

    Ok I know that Zen Cart supports sm/med/lrg image sizes for products, but I've seen differing explanations of how to do it.

    One is to use different folders (medium, large, and I guess the product folder is where the small one goes? Let me know).

    One is to use _MED and _LRG suffixes to the filenames.

    I tried the different folders, though I had also added the suffixes... anyway it didn't work. Neither did putting all the files with suffixes in the same folder.

    Am I supposed to put the images with the same filenames (no suffixes) in the different folders by size?

    What is the final, real answer here? I'm confused

    Thanks in advance for your help!

    (Oh, and does the same apply for the additional product images? (_01, _02, etc)?

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,403
    Plugin Contributions
    87

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    Your \images directory is the starting point for your small images, \images\medium is the starting point for your medium images and \images\large is the starting point for your large images. The _MED and _LRG suffixes are the default values; you can change them in your admin's Configuration->Images.

    Let's say that you have a product with an image file named my_picture.jpg. That would result in you having the following files:

    Code:
    \images\my_picture.jpg
    \images\medium\my_picture_MED.jpg
    \images\large\my_picture_LRG.jpg
    If you wanted to have another image for that product, you'd pick another suffix, like _00. Then you'd also have the following files:

    Code:
    \images\my_picture_00.jpg
    \images\medium\my_picture_00_MED.jpg
    \images\large\my_picture_00_LRG.jpg

  3. #3
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    Ok, but when I upload images via the products editing page it puts them in the TG_products folder--is that a problem? Should I be having them all in the base images folder?

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    That defaults to starting with the base /images/ folder. but you can choose any of the subfolders of /images/ to put the file in when you upload it through the product page. (If you have used other than the regular default once, you should pay close attention to what folder you are using the next time, as it may default to the previous subfolder instead of /images/.)

    You do need to be sure that medium images go in the /medium/ folder and large images in the /large/ folder.

    TG_products folder
    Is this a custom subfolder you created or use for certain products? Unless you want/need separate subfolders for different groups of product images, you would be best off just using the base /images/. If you do use custom subfolders, they must be organized like
    /images/TG_products/
    /images/medium/TG_products/
    /images/large/TG_products/
    Last edited by gjh42; 6 Feb 2012 at 05:48 PM.

  5. #5
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    Yes, it is a custom folder I created to keep the product images separated out from the other images I'm using on the site. I'll try that directory structure and see if it works. thanks!

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    Since the principal function of the /images/ folder is product images, I would suggest you use the base /images/ for product images and make a subfolder for other images.

    If your other images are for use in your template (like fixed images, box corners or backgrounds), they really belong in /includes/templates/your_template/images/.

  7. #7
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    Most of the other images are for the informational pages that I have, as illustrations of various things. This site manufactures re-engineered, upgrade parts for a popular piece of exercise equipment, and we have pictures of the old (original) parts, the equipment itself, what kind of damage to look for, etc.

  8. #8
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    Then I would advise using a folder like /images/info/ for these images, and let the product images use the base /images/ and /images/medium/ and /images/large/ folders unencumbered.

  9. #9
    Join Date
    Mar 2006
    Location
    Belarus
    Posts
    72
    Plugin Contributions
    0

    help question Re: Small, medium, large versions of product images--I've gotten mixed messages

    Hi. I have bit different problem. Not all additional images show up on the product pages.
    I've set blank suffixes for medium and large images, and store large images only allowing system to shrink them as necessary.
    So, now I've uploaded product image ob-oks5-18-1.jpg to /images/mcl/ folder using product edit page in admin panel, and

    ob-oks5-18-1_all.jpg
    ob-oks5-18-1_front.jpg
    ob-oks5-18-1_rear.jpg
    ob-oks5-18-1_side.jpg

    into the same folder using ftp.

    When I visit the product page http://rafcamera.com/movie-cameras/l...lock-oks5-18-1, I can see 4 images only instead of 5. Missing one is ob-oks5-18-1_front.jpg
    Similar thing are with other products.

    I've tried to rename problem image. _front2 doesn't show; _fr or _fron so show. I supposed that problem may be due to length of the name, but in the other product _side shows, _rear (same length) - doesn't. I'm frustrated...

    Any ideas why this may happen?
    Thanks

  10. #10
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: Small, medium, large versions of product images--I've gotten mixed messages

    I thought it only looked for _01, _02, _03 etc at the end of filenames. How about renaming them

    ob-oks5-18-all_1.jpg
    ob-oks5-18-all_2.jpg
    ob-oks5-18-all_3.jpg
    ob-oks5-18-all_4.jpg

    (assuming your main product image is ob-oks5-18.jpg)

    True, you won't know by the filename which is front/rear/side, etc, but the software will know what to do with them.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Zen image preparation 3 (small, medium, large) images folder?
    By gsmsalers in forum General Questions
    Replies: 4
    Last Post: 4 Oct 2013, 05:01 PM
  2. Medium and large images show small
    By line1 in forum General Questions
    Replies: 8
    Last Post: 28 Sep 2012, 05:13 PM
  3. Product images setup Small-Medium-large?
    By hara in forum General Questions
    Replies: 8
    Last Post: 9 Oct 2008, 06:55 AM
  4. Small, Medium, Large Images in New Folder
    By monkeytastic in forum General Questions
    Replies: 1
    Last Post: 7 Mar 2008, 01:24 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