Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Need some help with additional images not showing correctly.

Need some help with additional images not showing correctly.

Views: 644

Results 1 to 3 of 3
15 May 2013, 7:16 AM
#1
annav avatar

annav

Zen Follower

Join Date:
Jul 2008
Location:
Sydney, Australia
Posts:
171
Plugin Contributions:
0

Need some help with additional images not showing correctly.

Hi,

I need some help when it comes to adding additional images to a product listing. I have only done this today for the first time after some googling (youtube actually). The first listing I did worked perfectly but the second one is not working correctly.

The listing shows the two additional images correctly but when clicking on them it brings up a larger picture of the main picture.

Eg.

http://www.toycrazy.com.au/index.php?main_page=product_info&cPath=138&products_id=2300

I'm pretty sure I have correctly named the images in this particular example correctly:

Fisher_Price_DC_ Superfriends_ Batman_Character_ Light
Fisher_Price_DC_ Superfriends_ Batman_Character_ Light_01
Fisher_Price_DC_ Superfriends_ Batman_Character_ Light_02

(they are all jpegs)

The first one I did that worked is:

http://www.toycrazy.com.au/index.php?main_page=product_info&cPath=3_81&products_id=2462

They were both done exactly the same way so I don't understand why the second one didn't work.

I uploaded the additional images through the admin and not via ftp.

Can anyone suss out what the problem could be?

Thanks
Anna

15 May 2013, 8:03 AM
#2
gilby avatar

gilby

Totally Zenned

Join Date:
Aug 2005
Location:
Vic, Oz
Posts:
1,816
Plugin Contributions:
0

Re: Need some help with additional images not showing correctly.

annav:

Eg.

http://www.toycrazy.com.au/index.php?main_page=product_info&cPath=138&products_id=2300

I'm pretty sure I have correctly named the images in this particular example correctly:

Fisher_Price_DC_ Superfriends_ Batman_Character_ Light
Fisher_Price_DC_ Superfriends_ Batman_Character_ Light_01
Fisher_Price_DC_ Superfriends_ Batman_Character_ Light_02

(they are all jpegs)
Anna

  1. You have "spaces" in the image name. Not recommended.
    Remove them and you will find it works (but NOT for the reason you think)

  2. The database has a 64 character limit for image names
    Spaces are encoded as %20 and take up 3 characters.
    You have by accident got exactly 64 characters in the name.
    (If it was any longer you would not get any additional images at all).

So to fix your problems:

  1. Use Alpha/Numeric and underscores for image names. Avoid punctuation and spaces.
  2. Keep your names shorter.
15 May 2013, 9:26 AM
#3
annav avatar

annav

Zen Follower

Join Date:
Jul 2008
Location:
Sydney, Australia
Posts:
171
Plugin Contributions:
0

Re: Need some help with additional images not showing correctly.

oops...there weren’t supposed to be any spaces in the name :blush:

I sat there staring at the titles for ages looking to see if there was anything wrong even after I posted them above and still didn't notice it. Very embarrassing lol

Thanks so much for your help!