Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Same image for multiple products

Same image for multiple products

Locked

Views: 1,682

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
7 Jun 2008, 12:04 PM
#1
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Same image for multiple products

Hi, I've no problem with adding extra images per product but what I would like to have is an image which is common to several products without having to give the image several names, ie duplicating it, in order for it to show up on each product page.

To use an example, suppose I have several products : smallhouse, bighouse and biggerhouse, and an image of a door which is the same, whatever the type of house. I could name the "door" image as follows in order for it to show up on each product page, smallhouse_01.jpg, bighouse_01.jpg and biggerhouse_01.jpg but that would mean having to create the same image three times which would be time consuming and a waste of space. Is there a way of "attaching" the image to each product without duplicating and renaming it ?

Cheers

Pete

7 Jun 2008, 2:06 PM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Same image for multiple products

No. Additional images aren't actually attached to products at all. Their are identified when the product_info page is built based on their similarity to the product's main image. So unless you follow the naming convention, they simply won't be recognized.

That said, I once re-wrote the additional images module for a client to display images that he named in a new database table. It wasn't a particularly big change, being very well localized within the Zen Cart code, so you may wish to consider this if you have PHP and basic database skills.

9 Jun 2008, 7:46 AM
#3
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Same image for multiple products

Thanks for your reply. Sounds interesting !

17 Jun 2008, 3:47 AM
#4
garyr125 avatar

garyr125

New Zenner

Join Date:
Apr 2008
Posts:
2
Plugin Contributions:
0

Re: Same image for multiple products

I'm about as new as you can get, so I may off the mark here. But I just loaded about 500 similar products and associated them with about 6 images, using Easy Populate. I think this is what you were asking to do.

17 Jun 2008, 7:03 AM
#5
gjh42 avatar

gjh42

Black Belt

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

Re: Same image for multiple products

You can associate one image file with any number of products, simply by defining it as the main image for each of them.

What you can't do (without custom coding) is associate one additional image file with several different main product images.

17 Jun 2008, 1:49 PM
#6
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Same image for multiple products

Glenn, Yes, that's what I'm after. Perhaps "Kuroi" will be back with an answer soon...

23 Jun 2008, 7:15 PM
#7
daver1510 avatar

daver1510

New Zenner

Join Date:
Jul 2007
Posts:
70
Plugin Contributions:
0

Re: Same image for multiple products

gjh42:

You can associate one image file with any number of products, simply by defining it as the main image for each of them.

What you can't do (without custom coding) is associate one additional image file with several different main product images.

Can you associate more then one store with on image file. I have a company that gave me a very large imagine file that I am going to use in 4 different stores. I'm trying two load it in one file and direct each store to that file.

HELP!:lookaroun