Forums / Customization from the Admin / Scroll window in the popup for product images?

Scroll window in the popup for product images?

Views: 5,553

Results 1 to 4 of 4
1 Mar 2011, 5:38 AM
#1
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

Scroll window in the popup for product images?

Hello,

Does anyone have this issue:

Basically, my product image is kind of large, normally 800x600 pixel. But even on a large screen, the popup product image window is very small, only show part of the image.

How can I make the popup window larger? Or add a kind of scroll bar to it?

Thanks.

1 Mar 2011, 5:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Scroll window in the popup for product images?

What ZenCart version?
Where is this?

I have a stock demo install with a 900px × 600px image and do not see this

You can check it **HERE**

Zen-Venom Get Bitten

4 Apr 2011, 1:10 PM
#3
kamion avatar

kamion

New Zenner

Join Date:
Mar 2011
Posts:
93
Plugin Contributions:
0

Re: Scroll window in the popup for product images?

To enable the scroll bars, look for jscript_main.php in your /includes/modules/pages/product_<PRODUCT_TYPE>_info/ directory.

function popupWindow(url) {
  window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150')
}

Change the parameter from "scrollbar=no" to "scrollbars=yes".

24 Jan 2019, 12:09 PM
#4
dennisra avatar

dennisra

New Zenner

Join Date:
Dec 2018
Location:
Minnesota, USA
Posts:
3
Plugin Contributions:
0

Re: Scroll window in the popup for product images?

Thank you!