Forums / Upgrading to 1.5.x / Why can't I show multiple images?

Why can't I show multiple images?

Started by callmeal on 12 Mar 2012, 2:05 PM · Views: 12,462

Results 41 to 60 of 61
17 Mar 2012, 4:21 PM
#41
ealdinger avatar

ealdinger

Inactive

Join Date:
Dec 2010
Posts:
16
Plugin Contributions:
0

Why can't I show multiple images?

DivaVocals:

I said this because SBA doesn't modify ANY files which affect additional images.. So it's not LOGICAL that this add-on would have any affect..

Ok, thank you!

Any other thoughts on things I could try?

17 Mar 2012, 4:44 PM
#42
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Why can't I show multiple images?

It isn't logical, but it's true. I'm no PHP wizard, but I looked at every file in the SBA mod for 1.5, and I couldn't see anything that would affect additional images (though I know nothing about jquery).

Nevertheless, I installed a fresh copy of 1.5.0 and SBA for 1.5, no other mods or changes, and the additional images in the demo products disappeared.

17 Mar 2012, 4:53 PM
#43
ealdinger avatar

ealdinger

Inactive

Join Date:
Dec 2010
Posts:
16
Plugin Contributions:
0

Re: Why can't I show multiple images?

I just installed the SBA 1.5 a few days ago and I'm pretty sure that my additional images worked before I installed it but they aren't working now.

17 Mar 2012, 5:01 PM
#44
ealdinger avatar

ealdinger

Inactive

Join Date:
Dec 2010
Posts:
16
Plugin Contributions:
0

Re: Why can't I show multiple images?

I installed the SBA 1.5beta on my test site first to make sure it worked but I didn't have pictures on my test product. I went back to my test product on my test site and added a picture and uploaded an additional image. The additional image doesn't show up there either.

17 Mar 2012, 8:18 PM
#45
motopsycho avatar

motopsycho

New Zenner

Join Date:
Oct 2009
Posts:
7
Plugin Contributions:
0

Re: Why can't I show multiple images?

ALRIGHT!!!

1.3.9h

I transferred an old site to a new. There were multi-pics in the old one.

They work, and I can add additional pics to the working multi-pic pages.

If I add a NEW product, I CANNOT add multi-pics. They just don't show up...

It's a very customized site, but why will it work with what WAS there, but I cant add new?

17 Mar 2012, 8:43 PM
#46
motopsycho avatar

motopsycho

New Zenner

Join Date:
Oct 2009
Posts:
7
Plugin Contributions:
0

Re: Why can't I show multiple images?

MotoPsycho:

ALRIGHT!!!

1.3.9h

I transferred an old site to a new. There were multi-pics in the old one.

They work, and I can add additional pics to the working multi-pic pages.

If I add a NEW product, I CANNOT add multi-pics. They just don't show up...

It's a very customized site, but why will it work with what WAS there, but I cant add new?

Never mind...Image Handler2.

Duh!:blush:

17 Mar 2012, 10:23 PM
#47
callmeal avatar

callmeal

New Zenner

Join Date:
Mar 2012
Posts:
42
Plugin Contributions:
0

Re: Why can't I show multiple images?

stevesh:

It isn't logical, but it's true. I'm no PHP wizard, but I looked at every file in the SBA mod for 1.5, and I couldn't see anything that would affect additional images (though I know nothing about jquery).

Nevertheless, I installed a fresh copy of 1.5.0 and SBA for 1.5, no other mods or changes, and the additional images in the demo products disappeared.

Phew, thanks - I thought I was going mad! But I did check at every stage of the installation, and that IS where it fell over.

17 Mar 2012, 11:18 PM
#48
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Why can't I show multiple images?

MotoPsycho:

Never mind...Image Handler2.

Duh!:blush:

erm if you are using 1.3.9h it should be imagehandler 3

Webzings Design
Semi retired from Web Design

1 Apr 2012, 9:43 PM
#49
qrfvqr4tv1 avatar

qrfvqr4tv1

New Zenner

Join Date:
Apr 2012
Posts:
1
Plugin Contributions:
0

Re: Why can't I show multiple images?

When I couldn't get multiple images to display for my items, it was because I only had the large images and no smaller versions.

This was my solution:

I made large and small versions of each image and then I uploaded those images to the appropriate folders after naming them.

The "images" folder now contains myproduct.jpg, myproduct_2.jpg and myproduct_3.jpg.

The subfolder named "large" now contains myproduct_2_LRG.jpg and myproduct_3_LRG.jpg.

The subfolder named "medium" only contains one medium-sized version of the first image, myproduct_MED.jpg.

Happy Selling :smile:

1 Apr 2012, 10:26 PM
#50
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Why can't I show multiple images?

And the reason you had the issue with additional images is because you had no images in the "default" folder. (the "images" folder) The way Zen Cart "recognizes" additional images requires that a "default" image must exist. (it then matches the additional images based on the NAME of the default image)

For anyone who doesn't want to HAVE to create three different sized images, you CAN simply load your largest image into the "default" ("images") folder and Zen Cart will take care of displaying the proper sizes in your store based on your Configuration > Images settings.

The purpose of the medium and large folders is if you want to create three distinct image sizes yourself OR if you want the medium or large images to be different images than your thumbnail image.

qrfvqr4tv1:

When I couldn't get multiple images to display for my items, it was because I only had the large images and no smaller versions.

This was my solution:

I made large and small versions of each image and then I uploaded those images to the appropriate folders after naming them.

The "images" folder now contains myproduct.jpg, myproduct_2.jpg and myproduct_3.jpg.

The subfolder named "large" now contains myproduct_2_LRG.jpg and myproduct_3_LRG.jpg.

The subfolder named "medium" only contains one medium-sized version of the first image, myproduct_MED.jpg.

Happy Selling :smile:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Apr 2012, 12:36 AM
#51
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Why can't I show multiple images?

DivaVocals:

For anyone who doesn't want to HAVE to create three different sized images, you CAN simply load your largest image into the "default" ("images") folder and Zen Cart will take care of displaying the proper sizes in your store based on your Configuration > Images settings.

The purpose of the medium and large folders is if you want to create three distinct image sizes yourself OR if you want the medium or large images to be different images than your thumbnail image.

You might lead someone astray with that. They may think Zen Cart actually creates the right size images on the fly. But all it does is serve the image you've given it, and then the browser (not Zen Cart) squishes the image to fit the space available. Note that the image isn't remade in a new size, it just gets shrunk to fit. Most importantly, it is still its original size on disk (in terms of MB or KB), so each page of your store will draw more slowly than it would if you were using properly sized images.

So the purpose of the Medium and Large folders could be as you state, but also they are used to hold your manually re-sized images. That way the server isn't being stressed serving large images when only small ones are needed, and your browser isn't squishing the large images to fit small spaces, and your site isn't slower than it should be.

One other point most people are unaware of... when the browser reformats an image to fit the available space, there is no image optimization going on. The image will be whatever the browser can manage. You can do a much better job yourself using an image editing program.

Final thought: all of this can be avoided if you use Image Handler. It does create new sizes of images on the fly, and it does an excellent job of it. Now if only it worked with ZC v1.5.0.

Rob

Breakfast: the most important donut of the day.

2 Apr 2012, 4:33 AM
#52
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Why can't I show multiple images?

rstevenson:

You might lead someone astray with that. They may think Zen Cart actually creates the right size images on the fly. But all it does is serve the image you've given it, and then the browser (not Zen Cart) squishes the image to fit the space available. Note that the image isn't remade in a new size, it just gets shrunk to fit. Most importantly, it is still its original size on disk (in terms of MB or KB), so each page of your store will draw more slowly than it would if you were using properly sized images.

So the purpose of the Medium and Large folders could be as you state, but also they are used to hold your manually re-sized images. That way the server isn't being stressed serving large images when only small ones are needed, and your browser isn't squishing the large images to fit small spaces, and your site isn't slower than it should be.

One other point most people are unaware of... when the browser reformats an image to fit the available space, there is no image optimization going on. The image will be whatever the browser can manage. You can do a much better job yourself using an image editing program.You make a good point, but I don't think I implied that images were actually being resized or optimized using only the default location.. My BIGGER point was that you MUST have an image in the default location or Zen Cart will not be able to find your additional images.. And for those who don't want to HAVE to create three distinct images sizes that they could get away with simple putting one image in the default location. That does not imply best practice or optimization, just simply wanted to explain default image behavior.. What you say is certainly true about how Zen Cart DISPLAYS images when there is only one image in the default location.

rstevenson:

Final thought: all of this can be avoided if you use Image Handler. It does create new sizes of images on the fly, and it does an excellent job of it. Now if only it worked with ZC v1.5.0.Yeah.. Indeed.. If only the people who are working on the Zen Cart v1.5 ready version didn't have personal family priorities come up this weekend that take precedence over getting the release out..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

2 Apr 2012, 1:35 PM
#53
rstevenson avatar

rstevenson

Totally Zenned

Join Date:
Nov 2006
Location:
Dartmouth, NS Canada
Posts:
2,400
Plugin Contributions:
0

Re: Why can't I show multiple images?

DivaVocals:

Yeah.. Indeed.. If only the people who are working on the Zen Cart v1.5 ready version didn't have personal family priorities come up this weekend that take precedence over getting the release out..

No criticism was intended, of course. All mod authors are saints who deserve only high praise. :bigups:

Rob

Breakfast: the most important donut of the day.

2 Apr 2012, 3:33 PM
#54
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Why can't I show multiple images?

rstevenson:

No criticism was intended, of course. All mod authors are saints who deserve only high praise. :bigups:

RobI know.. But there is a BRIGHT light at the end of the Image Handler tunnel.. The volunteer QA team is reviewing what I HOPE is the final install package and readme files.. (Got it out to them LATE last night FINALLY!!!)

If I get thumbs up from them (should be a day or two) then it's gonna be submitted to the free downloads ASAP!!! :smile: I already posted updates to Zen Lightbox and Fual Slimbox to support the new IH4 release.. The new version is pretty darned cool too everyone who contributed really did a GREAT job top make this one of the best Image Handler releases IMHO!!:yes:

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

3 Apr 2012, 12:25 AM
#55
algerdes avatar

algerdes

New Zenner

Join Date:
Apr 2012
Location:
Lebanon, Illinois
Posts:
27
Plugin Contributions:
0

Re: Why can't I show multiple images?

First of all - thanks to all that contributed to this thread. I learned a lot of stuff just following it.

Secondly, if you need an absolute beginner to test it (IH4), let me know when it is ready. I had to hunt hi-and-low to just find out what "Image Handler" did! :blink:

28 May 2012, 8:49 AM
#56
ousel avatar

ousel

New Zenner

Join Date:
Aug 2006
Posts:
84
Plugin Contributions:
0

Re: Why can't I show multiple images?

I'm having a problem enlarging additional images.

I have imported a database into v1.5, copied small images into /images, _MED images into /images/medium and _LRG images into /images/large.

When I click on the product image it enlarges correctly, but when I click on the additional images I get a popup box showing a small image of the original product image.

It all works correctly in v1.3.8, and I have re-uploaded all sizes of images in case there was a problem, but still not working.

Any ideas?

28 May 2012, 9:01 AM
#57
gilby avatar

gilby

Totally Zenned

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

Re: Why can't I show multiple images?

Ousel:

I'm having a problem enlarging additional images.

I have imported a database into v1.5, copied small images into /images, _MED images into /images/medium and _LRG images into /images/large.

When I click on the product image it enlarges correctly, but when I click on the additional images I get a popup box showing a small image of the original product image.

It all works correctly in v1.3.8, and I have re-uploaded all sizes of images in case there was a problem, but still not working.

Any ideas?Link to a problem image please!

28 May 2012, 10:11 AM
#59
gilby avatar

gilby

Totally Zenned

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

Re: Why can't I show multiple images?

Ousel:

http://www.tarotandoraclecards.com/demo/index.php?main_page=product_info&cPath=2&products_id=10

The main image works, but not the additional ones.
In view source the additional image is shown as
images%2Flarge%2FDa+Vinci+Enigma+Tarot_04_LRG.jpg

wheras it should be
images%2Flarge%2FDa+Vinci%20Enigma%20Tarot_04_LRG.jpg

The spaces "%20" are being converted to "+"

Solution...
DON'T name images with spaces, or any other punctuation for that matter.
It will always come back at sometime to bite you.

6 Jun 2012, 10:36 AM
#60
joyjoy avatar

joyjoy

Totally Zenned

Join Date:
Sep 2010
Posts:
611
Plugin Contributions:
0

Re: Why can't I show multiple images?

Can anyone take a look at my site. I can't figure it out. My additional pictures aren't showing up and I'm not seeing any errors in my debut files. I've installed Zen Lightbox and Image Handler. I'm on version 1.3.8

Thank you.

https://www.dayblueclothing.com

Nevermind I figured it out. Sorry. It's late. :wacko: