Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Resize Pop Up window according to image inside?

Resize Pop Up window according to image inside?

Views: 3,393

Results 1 to 10 of 10
30 Dec 2009, 1:41 AM
#1
bobobo avatar

bobobo

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

Resize Pop Up window according to image inside?

Currently, the product's "view larger image" pop-up window is only opening at about 100px wide. I have to pull on the corner of the window to get to see the whole photo.

  1. Can I make the popup window automatically resize according to the image inside?

  2. If that's too difficult, is there at least a way I can get the popup window to be one large, consistent size?

30 Dec 2009, 1:51 AM
#2
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Resize Pop Up window according to image inside?

You might want to consider using Fual Slimbox instead of the out-of-the-box system.

30 Dec 2009, 2:11 AM
#3
bobobo avatar

bobobo

New Zenner

Join Date:
Dec 2009
Posts:
5
Plugin Contributions:
0

Re: Resize Pop Up window according to image inside?

Yes! It works beautifully! Thank you! :D

30 Dec 2009, 2:14 AM
#4
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Resize Pop Up window according to image inside?

Glad it worked for you.

14 Jan 2011, 5:10 PM
#5
damiancds avatar

damiancds

New Zenner

Join Date:
Aug 2009
Posts:
14
Plugin Contributions:
0

Re: Resize Pop Up window according to image inside?

I've got a rather similar question, and I didn't want to waste another thread, but I do realize this thread is rather old, so I'm not sure what the proper way to go about it is.

Anyway, is there a way to have that popup image window not resizable? I have it set to about 640 x 480 and I don't want the user to be able to change the size of the window.

also, I looked into the slimbox, but it's not compatible with my version (1.3.9h)

again, sorry if I went about this wrong.

14 Jan 2011, 7:48 PM
#6
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Resize Pop Up window according to image inside?

slimbox is indeed compatible with 1.3.9h

AND far preferable to the pop-up window.

18 Jan 2011, 5:49 PM
#7
damiancds avatar

damiancds

New Zenner

Join Date:
Aug 2009
Posts:
14
Plugin Contributions:
0

Re: Resize Pop Up window according to image inside?

The only thing I wasn't sure of was that the link you provided before shows it's compatible with 1.3.8 version of zen cart. Do I use the same thing, or is there a newer version of the faul slimbox out there for the newer zen cart?

18 Jan 2011, 7:46 PM
#8
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Resize Pop Up window according to image inside?

The version in the Free Software Add Ons is the current version and does work with 1.3.9h.

19 Jan 2011, 1:34 AM
#9
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Resize Pop Up window according to image inside?

I also like using Zen Lightbox for doing this sort of thing. Seems to work easier for me and looks great! Again it is in the free Add-on's.

19 Jan 2011, 3:34 AM
#10
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,799
Plugin Contributions:
15

Re: Resize Pop Up window according to image inside?

Unfortunately, lightbox does not play well with some of the other mods.

Image Handler is one that comes to mind.