Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Where to put uploaded images for products...?

Where to put uploaded images for products...?

Started by webkat on 28 Jan 2012, 2:39 AM · Views: 728

Results 1 to 7 of 7
28 Jan 2012, 2:39 AM
#1
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Post #1 by webkat

Using V150, new install, never been upgraded.
I added the module Advanced Shipper.
I installed via FTP.

My question is when creating product categories or adding products... there is an image upload box and text that says: "Upload to directory:" and has a drop-down of totally useless, irrelevant categories that have nothing to do with my site/products/etc... where can I go to change these locations? Is it as easy as creating folders in the images folder via FTP? And can I delete the useless ones? I wasn't ready to just jump in and try it in case I broke something and it would be hard to fix...

Also, what if I want to have multiple images in a product description... do I have to independently FTP the images onto the server and link to them, or is there a way to do it through the create product interface?

Thanks for your answers...

28 Jan 2012, 2:46 AM
#2
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Post #2 by rescoccc

Is it as easy as creating folders in the images folder via FTP?

Yep

And can I delete the useless ones?

Yep.

Also, what if I want to have multiple images in a product description... do I have to independently FTP the images onto the server and link to them

Yep, FTP them in and Zen will automatically load the additional images as long as you follow the naming conventions outlined here:

https://www.zen-cart.com/tutorials/index.php?article=58

The best way to learn is to try stuff. But, back it up first.

29 Jan 2012, 5:42 AM
#3
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Post #3 by webkat

That tutorial is great! Thanks! I'm just confused about one part...

This is the bit from the tutorial:

For the large image (used in popups) I use FTP and upload:
/images/large/dvd/a_bugs_life_01_LRG.gif
/images/large/dvd/a_bugs_life_02_LRG.gif
/images/large/dvd/a_bugs_life_03_LRG.gif
/images/large/dvd/a_bugs_life_04_LRG.gif

For the medium image (used as the main image on the product_info page) I upload via FTP:
/images/medium/dvd/a_bugs_life_MED.gif

NOTE: There is ONLY ONE ( 1 ) Medium Image used per Product on the Product Info page: (pages named product_info, product_music_info etc.) The naming is related directly to the original image.

Now you do not need to use subdirectories for loading your images.

All images can be loaded to:
/images
/images/large
/images/medium

I'm not sure whether he's saying that you can upload your differently-sized images (with the _LRG or _MED etc suffix) into the same folder, or whether the _LRG needs to go into /images/large and the _MED into /images/medium...? It seems to be saying both. Do I need to use the sub-directories or can I load the images all into the same folder?

29 Jan 2012, 8:58 PM
#4
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Post #4 by rescoccc

_LRG needs to go in the large folder, and _MED in the medium folder. Or, you could install the Image Handler mod and let it take care of everything:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1910

The best way to learn is to try stuff. But, back it up first.

30 Jan 2012, 3:07 AM
#5
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Post #5 by webkat

Unfortunately the Image Handler mod doesn't work with 1.50 :(

30 Jan 2012, 4:16 PM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #6 by gjh42

The line > Now you do not need to use subdirectories for loading your images. refers to the use of a /dvd/ subfolder for the first example > /images/large/dvd/a_bugs_life_01_LRG.gif
This in my opinion confuses the issue, introducing two new concepts at the same time without distinguishing between them. A better formulation would have been to use a product that used the basic /images/, /images/medium/ and /images/large/ folders for the first example.

30 Jan 2012, 8:05 PM
#7
webkat avatar

webkat

Zen Follower

Join Date:
Jan 2012
Location:
New England
Posts:
238
Plugin Contributions:
0

Post #7 by webkat

I agree. It confused me.

So what image do you use when you upload an image with your product when you add a product? small, medium, or large?