Zen Cart Logo
Forums / General Questions / Large images showing same image.

Large images showing same image.

Views: 675

Results 1 to 4 of 4
7 Feb 2013, 6:26 AM
#1
cammel8 avatar

cammel8

New Zenner

Join Date:
Feb 2013
Posts:
2
Plugin Contributions:
0

Large images showing same image.

After uninstalling and rieinstalling abou 6 times I finaly got the multiple images part to work so now I can see multple images on my items. Now every time i click the view larger Icon it shows the same picture wich is the first image in the series. it does not matter which image it is I rename it to the first and it becomes the one shown. If you look at the url in the large image window it shows it is supposed to be displaying the correct picture but the only pictur it shows is the first one.

Example:
test 2 link shows a cue stick with multiple pictures
The image filenames are
kidscue.jpg
kidscue_01.jpg
kidscue_02.jpg
kidscue_03.jpg
kidscue_04.jpg
kidscue_05.jpg
kidscue_06.jpg
kidscue_07.jpg
kidscue_08.jpg

Kidscue shows as big image on top and kidscue_01 shows as small image on bottom followed by kidscue_02 and so on.

When I click the first small image that should be kidscue_01 which is showing Kidscue_01 in the small image it pops up a new window with the url of http://.../zencart/index.php?main_page=popup_image_additional&pID=3&pic=0&products_image_large_additional=images/Used+Cues/kidscue_01.jpg

But the image that is in the window that pops up is actually the kidscue.jpg image that shows as the main image for the item.

The link to the site is https://www.kageservices.com all items then test2

Any help would be appreciated.

7 Feb 2013, 7:15 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Large images showing same image.

OK so I get a strange re-direct from your stated URL... Not sure if that is influencing the behaviour.

You are leaving SPACES IN FOLDER NAMES.

http://cammel8.brinkster.net/zencart/images/Used%20Cues/

ALL FOLDERS SHOULD BE LOWER CASE LETTERS, WITH WORDS SEPARATED BY AN UNDERSCORE.

http://cammel8.brinkster.net/zencart/images/used_cues/

Are your ADDITIONAL IMAGES also in the same folder as your main image?

Try re-naming the Used%20Cues/ folder. You will need to re-establish the new path in the database too. So call up those products for editing and correct the path to the newly named folder.

Get into the habit of using the correct protocols for web server management.
**DO NOT PUT SPACES INTO FOLDER OR FILE NAMES.
USE LOWER-CASE LETTERS.
NEVER USE SPECIAL CHARACTERS. USE ONLY ALPHA-NUMERIC - a TO z and 0 to 9.
SEPARATE WORDS WITH UNDERSCORE IN ALL FILES AND FOLDER NAMES. **
With IMAGES it is permissible to use DASHES between words.

7 Feb 2013, 7:49 AM
#3
cammel8 avatar

cammel8

New Zenner

Join Date:
Feb 2013
Posts:
2
Plugin Contributions:
0

Re: Large images showing same image.

schoolboy:

You are leaving SPACES IN FOLDER NAMES.

That was it. And the funny thing is I always use the correct naming conventions. I am just tired and missed it. Normaly I use no spaces and just seperate words with capitals like UsedCues. I have no idea why I did that, and probably never would have caught it because it is so unlike me to do.

Thank you so much. Now I can go to bed I think. Yay for me!!!

7 Feb 2013, 8:44 AM
#4
schoolboy avatar

schoolboy

Totally Zenned

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

Re: Large images showing same image.

cammel8:

Normaly I use no spaces and just seperate words with capitals like UsedCues.

Well, DON'T DO THIS EITHER... lower case, and underscore to separate words. NO UPPERCASE in folder names or file names.