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

Additional images don't show up

Locked

Views: 1,923

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
16 Jan 2009, 11:27 AM
#1
gavuk1 avatar

gavuk1

New Zenner

Join Date:
Jan 2009
Posts:
3
Plugin Contributions:
0

Additional images don't show up

Hi,

My first post so please be gentle.
I have developed a site at https://www.antiquegolfclub.co.uk
I have been listing products and adding additional images for some months now following the guidance on this forum. My problem is that sometimes my additional images don't show. Here's a example. I've uploaded four images through the new product page and they are definately on my server as I can type in their "full addresses" as follows and the show ok
https://www.antiquegolfclub.co.uk/images/schenectadyputter.jpg
https://www.antiquegolfclub.co.uk/images/schenectadyputter2.jpg
https://www.antiquegolfclub.co.uk/images/schenectadyputter3.jpg
https://www.antiquegolfclub.co.uk/images/schenectadyputter4.jpg

Also I uploaded the first image in the list last!

I cannot understand why then on my product page only the "base" image and no.3 are showing. Why not images 2 and 4?
http://www.antiquegolfclub.co.uk/index.php?main_page=product_info&cPath=69&products_id=227

Any help much appreciated.

16 Jan 2009, 11:43 AM
#2
visexp avatar

visexp

Zen Follower

Join Date:
Jul 2008
Posts:
106
Plugin Contributions:
0

Re: Additional images don't show up

I don't know if it makes a difference but I did notice that the first and third images file extension is capitalized (.JPG) while the second and fourth images are not (.jpg)

16 Jan 2009, 12:52 PM
#3
gavuk1 avatar

gavuk1

New Zenner

Join Date:
Jan 2009
Posts:
3
Plugin Contributions:
0

Re: Additional images don't show up

Well spotted, I'll change this later and report back so otehrs may benefit if it works!

16 Jan 2009, 1:15 PM
#4
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Additional images don't show up

On a unix box, CaSE is ImporTANt.

jpg is not the same as JPG

Picture.gif is not the same as picture.gif, or picture.GIF

Additionally, the extra images names should be:

Main image:
schenectadyputter.jpg

Additional images:
schenectadyputter_01.jpg
schenectadyputter_02.jpg
schenectadyputter_03.jpg

IE: The underscore _ before the numerals is important.

16 Jan 2009, 10:44 PM
#5
ajeh avatar

ajeh

Oba-san

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

Re: Additional images don't show up

Note: the _XX on the additional images can be numeric or alpha ... but the nice thing about using numeric is they are displayed in order based on sorting the names ... hence, the desire to use _01 _02 _03 _11 _12 vs _1 2 _3 _11 _12 as the second set would not sort right ...

22 Jan 2009, 11:59 AM
#6
gavuk1 avatar

gavuk1

New Zenner

Join Date:
Jan 2009
Posts:
3
Plugin Contributions:
0

Re: Additional images don't show up

Well, I'm glad to report that once I'd made sure all my images were .jpg rather than a mix of .JPG and .jpg they all showed up.:clap: I have also continued to use the format image.jpg + image1.jpg + image2.jpg ( I.e I have not used the underscore in front of the numeral and have not met any problems ). Hope this post helps someone else! Now I think I have to play around with the size of images I'm uploading so my pages might show up a bit quicker!

22 Jan 2009, 12:13 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Additional images don't show up

gavuk1:

...I have not used the underscore in front of the numeral and have not met any problems...

Should read:

...I have not used the underscore in front of the numeral and have not met any problems...YET.

The "fuzzy logic" ZC uses to determine whether an image ought to be considered "additional", is very "grey", and it looks for (what it considers) are sufficient similarities in the image names.

By using the underscore, you make a definitive statement to this "fuzzy logic" that allows it to make no mistake about what the MAIN image is (the base name on which it ascertains the relevance of possible additional images), and all associated additional images.

As you increase the number of images you use, you risk running into problems with your naming convention. Using the underscore is a more disciplined approach, allowing BOTH you and ZC to interpret additional images, and the main image that they relate to, very quickly.