Zen Cart Logo
Forums / General Questions / Additional images... should they work like this?

Additional images... should they work like this?

Locked

Views: 782

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Oct 2008, 10:42 AM
#1
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Additional images... should they work like this?

I've just added two products to my site. The products model numbers and images are as follows.

Product 1

Model Number: 123-WHITE
Image: 123-white.jpg

Product 2

Model Number: 123-WHITE-RED
Image: 123-white-red.jpg

When viewing product 2 all is fine, but when I view product 1 the image from product 2 appears as an additional image! :blink:

I was under the impression that additional images worked should be named with _001 at the end.

Please feel free to correct me if I'm wrong!

23 Oct 2008, 11:22 AM
#2
kuroi avatar

kuroi

Totally Zenned

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

Re: Additional images... should they work like this?

What you're seeing is correct behaviour. Adding suffixes like _001 is a convention not a requirement. Zen Cart simply looks at the base image for a product e.g. "123-white" and treats any other image that starts like this as an additional image.

23 Oct 2008, 11:36 AM
#3
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: Additional images... should they work like this?

Thanks for clearing that up kuroi.

I'll simply tweak my model numbers to work around this.