Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / POP up "larger image" displaying small image

POP up "larger image" displaying small image

Locked

Views: 1,098

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
27 Oct 2010, 12:24 PM
#1
tooltraderdirect avatar

tooltraderdirect

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

POP up "larger image" displaying small image

Using v1.3.9g on an IIS7 server.

I am having trouble with the pop up larger images. They are displaying at the setting for my small images i.e when you click on the link to them, they open up as eg 400px × 550px (scaled to 100px × 90px)
Here is a page that shows this
http://tooltraderdirect.co.uk/index.php?main_page=product_info&cPath=75&products_id=195

I am using the ImageHandler mod (v2_0-Rev8c), but was having this problem before installing it, thats one of the reasons I added it...so I believe it is a more general issue with my Zen install rather than the mod. I am also using the Silverfish template.

hope someone can help :smile:

29 Oct 2010, 3:55 PM
#2
tooltraderdirect avatar

tooltraderdirect

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Re: POP up "larger image" displaying small image

This is driving me mad. I just reinstalled Zen and it was working fine. Now Its displaying the small javascript pictures again.

Any of the gurus able to see what's going wrong?
http://tooltraderdirect.co.uk/index.php?main_page=product_info&cPath=75&products_id=201

No modules installed. I have a modded Silverfish template, but the problem is still there when I use the Zen default template.

30 Oct 2010, 4:51 AM
#3
stiggy100 avatar

stiggy100

Zen Follower

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

Re: POP up "larger image" displaying small image

Have you set you image sizes in the admin>configuration>images?

1 Nov 2010, 8:56 AM
#4
tooltraderdirect avatar

tooltraderdirect

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Re: POP up "larger image" displaying small image

I have changed a couple of these, but have no idea which of these affects the pop up. From the tutorials, it looks like it should just use the original image (or the large image if present.)

1 Nov 2010, 9:12 AM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: POP up "larger image" displaying small image

It's working exactly as it's written to work: https://www.zen-cart.com/tutorials/index.php?article=58

You're trying to use one image for all purposes, but that's not how Zen Cart works.
Zen Cart uses separate images of separate sizes, since most of the time it's displaying the smaller images in product listings etc, and only occasionally the medium image (on product pages), and even less often it's displaying the large images (only on request). This aids in speeding website performance since the most-displayed images are much smaller in size, and therefore display on the page much more quickly.

Simply convert to using the 3 sized images as per the above tutorial article, and it will all work fine.

1 Nov 2010, 10:03 AM
#6
tooltraderdirect avatar

tooltraderdirect

New Zenner

Join Date:
Oct 2010
Posts:
13
Plugin Contributions:
0

Re: POP up "larger image" displaying small image

OK fixed, thanks.
I was still finding the popup was scaling the image to 120 x 100 (my config/images setting for the small image) so I turned "calculate image size to true" and that seemed to fix it.