Forums / Setting Up Categories, Products, Attributes / Three pics showing up on one product page???

Three pics showing up on one product page???

Views: 1,083

Results 1 to 11 of 11
4 Sep 2013, 8:51 PM
#1
lilleypadgifts avatar

lilleypadgifts

Totally Zenned

Join Date:
Jan 2007
Location:
Southern California
Posts:
550
Plugin Contributions:
0

Three pics showing up on one product page???

Here is a link the the page http://www.spiritjewelry.org/index.php?main_page=product_info&cPath=83_84&products_id=272 . There should only be 1 pic in the usual place and yet its showing 2 others. I have no clue why this is happening or how to correct it. I have added several others at the same time, but don't have any issues with them.
HELP! :unsure: I have hundreds more to add and don't want to run into this problem as I go :wacko:

4 Sep 2013, 9:00 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Three pics showing up on one product page???

Product 272 has its primary image named "football.jpg", and you've got other products whose images are "footballsilver.jpg" and "footballgold.jpg".
And, since you've got the "additional product images" feature enabled, it's showing all other images which start with the same base as your primary image. Thus since "footballsilver" and "footballgold" start with "football", it's showing those images as well.

Two options:
a) if you will never use the additional-images support, turn it off
b) if you do want to use that feature, rename football.jpg to footballbrown.jpg and upload the renamed image to that product 272

http://www.zen-cart.com/content.php?273-why-am-i-seeing-images-for-other-products-on-my-product-pages

.
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.

5 Sep 2013, 3:52 AM
#3
lilleypadgifts avatar

lilleypadgifts

Totally Zenned

Join Date:
Jan 2007
Location:
Southern California
Posts:
550
Plugin Contributions:
0

Re: Three pics showing up on one product page???

Ok the first one is supposed to be footballLrg maybe I left the lrg off by mistake?
Thank so much!

5 Sep 2013, 4:04 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Three pics showing up on one product page???

I recommend reading this to understand how it works: http://www.zen-cart.com/content.php?100-how-do-i-add-multiple-images-to-a-product

.
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.

5 Sep 2013, 5:00 AM
#5
lilleypadgifts avatar

lilleypadgifts

Totally Zenned

Join Date:
Jan 2007
Location:
Southern California
Posts:
550
Plugin Contributions:
0

Re: Three pics showing up on one product page???

Ok that makes sense .... So I guess it would be better to use inventory numbers for my pics and then I can leave the option for multiple pics open?

5 Sep 2013, 6:00 AM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Three pics showing up on one product page???

You can use whatever you like, but if you use words that people search for, then you give yourself an added edge in SEO. Hyphenate to use multiple words. Add numbers if you like. You could even start with a brief inventory number followed by a hyphen and then a word or two to describe it.
The key is to make the main image filename unique.

.
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.

5 Sep 2013, 6:44 PM
#7
lilleypadgifts avatar

lilleypadgifts

Totally Zenned

Join Date:
Jan 2007
Location:
Southern California
Posts:
550
Plugin Contributions:
0

Re: Three pics showing up on one product page???

Just to verify.... as you can see I have several football charms so for example... if I name the pics the following they won't read them as multiple pics of the same item?

100_footballlrg.jpg
101_footballbling.jpg
102_footballlrgblacksilver.jpg
...

as long at the beginning of the name is different?
:blink:

5 Sep 2013, 6:46 PM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Three pics showing up on one product page???

correct

.
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.

5 Sep 2013, 6:50 PM
#9
lilleypadgifts avatar

lilleypadgifts

Totally Zenned

Join Date:
Jan 2007
Location:
Southern California
Posts:
550
Plugin Contributions:
0

Re: Three pics showing up on one product page???

Awesome! Thank you soooo much!

5 Sep 2013, 7:30 PM
#10
gjh42 avatar

gjh42

Black Belt

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

Re: Three pics showing up on one product page???

100_footballlrg.jpg
101_footballbling.jpg
102_footballlrgblacksilver.jpg

It's not the "beginning" being different that does it, it is the fact that no image name starts with another image's full name.

footballlrg.jpg
and
footballbling.jpg
would work fine, but
footballlrgblacksilver.jpg
would be treated as an additional image for footballlrg.jpg, since it starts exactly with footballlrg.

Just adding otherwise meaningless numbers to the names is probably less useful than making all names distinct enough that they won't get confused. If you have several footballlrg type products, you might name them footballlrgplain, footballlrgblacksilver, footballlrgredgreen, etc.

If 100, 101 and 102 are actually your stock numbers or something, then great, use them.

5 Sep 2013, 7:34 PM
#11
lilleypadgifts avatar

lilleypadgifts

Totally Zenned

Join Date:
Jan 2007
Location:
Southern California
Posts:
550
Plugin Contributions:
0

Re: Three pics showing up on one product page???

That was my original understanding but when I changed the footballlrg.jpg to footballlrgoriginal.jpg it didn't help. I'm going to go in there and look around now to see what will work. I want to be able to add multiple sample pics to other categories or I'd just turn the darn thing off!