Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Additional product images don't show up?

Additional product images don't show up?

Locked

Views: 18,324

Results 1 to 20 of 31
This thread is locked. New replies are disabled.
25 Aug 2006, 6:20 PM
#1
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Additional product images don't show up?

Hi gang,

I've read this post:

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

...and meticulously followed it, as far as I can tell. But only one image still shows up on my product pages, not the additonal two images which I put in the "medium" and "large" folders within the "images" folder. They start with the same filename as the basic image. (this name is listed under "products image" on my product info page in the Admin).

The additional images are actually photos of product options (colour, material) and my intention is to have them on several different pages to illustrate the options.

I've checked everything over several times and can't see what the problem is.

Is there anything else I need to do to get the additional images to show up, or should it just happen "auto-magically"? I thought it was the latter... I'm baffled... and have probably overlooked something obvious!

Thanks!
Adam

25 Aug 2006, 11:10 PM
#2
anita avatar

anita

Zen Follower

Join Date:
Feb 2006
Posts:
124
Plugin Contributions:
0

Re: Additional product images don't show up?

Did you ftp the additional images into your shopping cart? Zencart doesn't automatically do that.

25 Aug 2006, 11:21 PM
#3
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Additional product images don't show up?

Oh yes, in fact that's all I did!

I earlier added the first (currently the only) product image by going to the product page (in Admin of course) and under Products Image choosing the appropriate file (and the appropriate location from the popup). But I was under the impression that FTP'ing correctly named files to the images directory and subdirectories would add them automatically to the product pages...

Adam

25 Aug 2006, 11:29 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

What is the URL to the Product?

What are the additional image filenames and locations?

26 Aug 2006, 12:58 AM
#5
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Additional product images don't show up?

What is the URL to the Product?

http://www.saf-t-petproducts.com/zencart/index.php?main_page=product_info&cPath=1&products_id=1

or

http://tinyurl.com/zhwm5

What are the additional image filenames and locations?

The image on the above page is here:

images/medium/leash-std_MED.gif

I've added these which aren't showing up:

images/medium/leash-std_01_MED.gif
images/medium/leash-std_02_MED.gif

I originally put JPEGs there and thought the differing file types might be a problem... other images are still in that format... but at any rate, nothing shows up.

Thanks!
Adam

26 Aug 2006, 1:14 AM
#6
anita avatar

anita

Zen Follower

Join Date:
Feb 2006
Posts:
124
Plugin Contributions:
0

Re: Additional product images don't show up?

Do you have these also?

images/leash-std_01.gif
images/leash-std_02.gif

Actually I believe you don't even need the medium sized images for the extra images. Because the small sizes showup automatically, and then the larger size will be used when you "click to enlarge"

Anita

28 Aug 2006, 3:21 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

The problem is ... you are misunderstanding what images work where ...

small images - all over the site

medium images - 1 for product _info page

large images - 1 for product _info when clicking on medium image on product _info page

additional small images - as many as you want on product _info

additional large images - as many as you want to match additional small images on product _info

NOTE: 1 medium image ... not multiple medium images

For a better understanding ... read up on the calico cat example:

http://www.zen-cart.com/forum/showthread.php?t=41010

See if that doesn't help you ... :smile:

28 Aug 2006, 4:52 PM
#8
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Additional product images don't show up?

Thanks a million Linda! That definitely sounds like the solution. I'll also check the linked article for further enlightenment...

Adam

28 Aug 2006, 5:15 PM
#9
cosmocanuck avatar

cosmocanuck

New Zenner

Join Date:
Jun 2006
Posts:
85
Plugin Contributions:
0

Re: Additional product images don't show up?

I see upon looking at the original article that it does indeed say exactly what you said about file paths... not surprising since you wrote it!

I just misinterpreted / misread it. Sigh...

Thanks for setting me straight!

Adam

29 Aug 2006, 3:43 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

Thanks for the update ... and glad you are able to get back on track with your images ... :smile:

15 Oct 2006, 6:02 PM
#11
dwarfs8 avatar

dwarfs8

New Zenner

Join Date:
Oct 2006
Posts:
15
Plugin Contributions:
0

Re: Additional product images don't show up?

i still don't get it. For example, i have front, back and side views of my item, how do i display them on the web? Can someone kind enuff to give me clear instructions? tks a lot...

16 Oct 2006, 12:42 AM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

Could you help us with what has you confused?

In the Calico Cat example:
http://www.zen-cart.com/forum/showthread.php?t=41010&highlight=%2Acalicocat%2A

You load to the Product when Adding/Editing the image: calicocat.jpg

This Product now ownes the base image name: calicocat

/images/calicocat.jpg
/images/medium/calicocat_MED.jpg
/images/large/calicocat_LRG.jpg

Any image that begins with calicocat and has the extention .jpg that is uploaded to the directory /images will be owned by this product ...

/images/calicocat_01.jpg
/images/calicocat_abc.jpg
/images/calicocat_left.jpg
/images/calicocat_right.jpg
/images/calicocat_back.jpg

All would be additional images ...

Large images would go in the /images/large directory with the added buzz word of _LRG

Original Large image would be:
/images/large/calicocat**_LRG**.jpg

Additional Large images would be:
/images/large/calicocat_01**_LRG**.jpg
/images/large/calicocat_abc**_LRG**.jpg
/images/large/calicocat_left**_LRG**.jpg
/images/large/calicocat_right**_LRG**.jpg
/images/large/calicocat_back**_LRG**.jpg

19 Jan 2007, 5:23 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

Note: take the same images in a subcategory and you would use:

/images/my_sub_cat/calicocat.jpg
/images/medium/my_sub_cat/calicocat_MED.jpg
/images/large/my_sub_cat/calicocat_LRG.jpg

Additional small images:
/images/my_sub_cat/calicocat_01.jpg
/images/my_sub_cat/calicocat_abc.jpg
/images/my_sub_cat/calicocat_left.jpg
/images/my_sub_cat/calicocat_right.jpg
/images/my_sub_cat/calicocat_back.jpg

Large images would go in the /images/large/my_sub_cat directory with the added buzz word of _LRG

Original Large image would be:
/images/large/my_sub_cat/calicocat_LRG.jpg

Additional Large images would be:
/images/large/my_sub_cat/calicocat_01_LRG.jpg
/images/large/my_sub_cat/calicocat_abc_LRG.jpg
/images/large/my_sub_cat/calicocat_left_LRG.jpg
/images/large/my_sub_cat/calicocat_right_LRG.jpg
/images/large/my_sub_cat/calicocat_back_LRG.jpg

Notice also that there is 1 medium image only ... the medium image is the one on the product _info page ...

25 Mar 2007, 3:57 AM
#14
brisbanetimeout avatar

brisbanetimeout

Zen Follower

Join Date:
Jul 2006
Posts:
108
Plugin Contributions:
0

Re: Additional product images don't show up?

I am sorry... I must be thick :-)

When I load a new product it only asks me for one picture file to load... where do I select another one ??? I am on the latsest version..

Thanks
Dave

Ajeh:

Note: take the same images in a subcategory and you would use:

/images/my_sub_cat/calicocat.jpg
/images/medium/my_sub_cat/calicocat_MED.jpg
/images/large/my_sub_cat/calicocat_LRG.jpg

Additional small images:
/images/my_sub_cat/calicocat_01.jpg
/images/my_sub_cat/calicocat_abc.jpg
/images/my_sub_cat/calicocat_left.jpg
/images/my_sub_cat/calicocat_right.jpg
/images/my_sub_cat/calicocat_back.jpg

Large images would go in the /images/large/my_sub_cat directory with the added buzz word of _LRG

Original Large image would be:
/images/large/my_sub_cat/calicocat_LRG.jpg

Additional Large images would be:
/images/large/my_sub_cat/calicocat_01_LRG.jpg
/images/large/my_sub_cat/calicocat_abc_LRG.jpg
/images/large/my_sub_cat/calicocat_left_LRG.jpg
/images/large/my_sub_cat/calicocat_right_LRG.jpg
/images/large/my_sub_cat/calicocat_back_LRG.jpg

Notice also that there is 1 medium image only ... the medium image is the one on the product _info page ...

25 Mar 2007, 4:00 AM
#15
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

You load the Product's base image when adding/editing a Product ...

You load medium, large, additional and additional large images via FTP with the correct naming conventions and in the correct paths and they will automatically be detected ...

25 Mar 2007, 4:54 AM
#16
brisbanetimeout avatar

brisbanetimeout

Zen Follower

Join Date:
Jul 2006
Posts:
108
Plugin Contributions:
0

Re: Additional product images don't show up?

:shocking:

You lost me....

Ok.. I am about to load a new product.. click on CAT then CAT PRODUCTS then select the CAT you want to list the new product in... then click NEW PRODUCT..ok fill in price ect blah blah... product description blah blah..then we get to image.. ok I have three pictures... I select 1 picture using the browse button and then click preview and then list.... where and what do I do with the other 2 pictures...?? You mention about FTP the files up with conveentions...?? :blink:
Where do I ftp the other images to ?? How do I relate them to this product ?
You need to make it dickhead proof...
:D

25 Mar 2007, 5:36 AM
#17
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Additional product images don't show up?

brisbanetimeout:

:shocking:

You lost me....

Ok.. I am about to load a new product.. click on CAT then CAT PRODUCTS then select the CAT you want to list the new product in... then click NEW PRODUCT..ok fill in price ect blah blah... product description blah blah..then we get to image.. ok I have three pictures... I select 1 picture using the browse button and then click preview and then list.... where and what do I do with the other 2 pictures...?? You mention about FTP the files up with conveentions...?? :blink:
Where do I ftp the other images to ?? How do I relate them to this product ?
You need to make it dickhead proof...
:D

You don't upload the extra images via the product page.

You use an FTP program or the control panel of your site to upload them to the correct folder.

Zen cart is "magical" in that simply naming the images a certain way makes them "Belong" together in a certain product.

Like Ajeh said, if the main image that you uploaded when adding the product is named:

calicocat.jpg

and it is now in the folder:
images/

Just by having these images with the same beginning like this (see how they all start with calicocat_):
/images/calicocat_01.jpg
/images/calicocat_abc.jpg
/images/calicocat_left.jpg
/images/calicocat_right.jpg
/images/calicocat_back.jpg

Will AUTOMATICALLY make them associated with the product that has the image "calicocat.jpg".

So then the extra images will BAM be there once they are uploaded.

25 Mar 2007, 8:51 AM
#18
brisbanetimeout avatar

brisbanetimeout

Zen Follower

Join Date:
Jul 2006
Posts:
108
Plugin Contributions:
0

Re: Additional product images don't show up?

Yes... it seems easy...

I have 3 picutres named
mass_r.jpg
mass_r1.jpg
mass_r2.jpg
The mass_r.jpg was uploaded within the product listing screen and the others were uploaded via control panel FTP in the same directory as the first one /images/mass_r.jpg etc and I went into the product and yep... you guessed it... only one picture is displayed... ???????

Now where is that hammer gone....

25 Mar 2007, 1:25 PM
#19
jettrue avatar

jettrue

Totally Zenned

Join Date:
Jan 2005
Location:
USA, St. Louis
Posts:
3,651
Plugin Contributions:
5

Re: Additional product images don't show up?

brisbanetimeout:

Yes... it seems easy...

I have 3 picutres named
mass_r.jpg
mass_r1.jpg
mass_r2.jpg
The mass_r.jpg was uploaded within the product listing screen and the others were uploaded via control panel FTP in the same directory as the first one /images/mass_r.jpg etc and I went into the product and yep... you guessed it... only one picture is displayed... ???????

Now where is that hammer gone....

Can I see a site link please?

25 Mar 2007, 1:27 PM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Additional product images don't show up?

Close ... but no cigar ... :cry:

Try naming the first image that is loaded with the product:
massr.jpg

Then add the additional images as:
massr_01.jpg
massr_02.jpg

The name change is to trigger a few things ...

This is the base name of your image for this product ...
massr.jpg

So that means it "owns" all images that start with:
massr

and have the extention of .jpg

Now any other image that starts with that base image name:
massr and has the extention of .jpg belongs to this Product ...

The filenames:
massr**_01.jpg
massr
_02**.jpg

Is for sorting purposes ... the images are loaded alpha/numeric so that you can actually determin the display order by their names ...

NOTE: A product has
1 base image calicocat.jpg which goes in /images or /images/something

1 medium image calicocat_MED.jpg which goes in /images/medium or /images/medium/something

1 large image calicocat_LRG.jpg which goes in /images/large or /images/large/something

unlimited additional images:
calicocat_01.jpg
calicocat_02.jpg
calicocat_abc.jpg
calicocat_123.jpg
which go in /images or /images/something (just like the base image)

unlimited additional large images matching the unlimited additional images
calicocat_01_LRG.jpg
calicocat_02_LRG.jpg
calicocat_abc_LRG.jpg
calicocat_123_LRG.jpg
which goes in /images/large or /images/large/something just like the base image's _LRG image did ...