Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Unknown image in wrong spot

Unknown image in wrong spot

Locked

Views: 1,092

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 May 2009, 5:23 PM
#1
pbconline avatar

pbconline

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Unknown image in wrong spot

Greetings

Zen Cart 1.3.7.1

I have had this store online for over a year now, and I just recently made a few updates to it and I noticed a photo that is being displayed without me telling it to be. The web page is
http://www.photosbycarolynonline.com/PBCStore/index.php?main_page=document_product_info&cPath=72&products_id=180
The picture in question is at the bottom of the screen above the tell a friend and write a review button. Please help, and thankyou!

7 May 2009, 5:44 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Unknown image in wrong spot

That's because you've named the images similarly.
Your new image is "morning.jpg" and the extra image is "morning_haze.jpg".
Zen Cart allows you to set multiple images for products, and uses the product's image name as the "base" for finding all "like" images for the product. And, then displays any it finds in the "additional images" section below the product details, as you described.
This allows some products to actually share some images, depending on their filenames (sometimes a product is a derivative of another product, and the additional images are useful that way, meaning less image files to prepare and upload to the server), and the naming convention allows for simple setup of additional images.

You have a few options:
a) rename your new product's base image filename, both the file and the image name in the product details in your admin
b) turn off the entire additional-image support in your admin settings
c) if the extra image isn't actually used by another product, you could just delete it off the server, and it won't show up anymore.

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

8 May 2009, 4:53 PM
#3
pbconline avatar

pbconline

New Zenner

Join Date:
May 2009
Posts:
2
Plugin Contributions:
0

Re: Unknown image in wrong spot

Thank you for the quick fix dr.byte! :smartalec: