Zen Cart Logo
Forums / Bug Reports / Enlarge product picture is cutoff

Enlarge product picture is cutoff

Views: 5,194

Results 21 to 30 of 30
23 Aug 2011, 2:15 AM
#21
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Enlarge product picture is cutoff

See how these settings work for you:

//  if (navigator.appName == 'Netscape') i=20;
  if (window.navigator.userAgent.indexOf('MSIE 6.0') != -1 && window.navigator.userAgent.indexOf('SV1') != -1) {
      i=30; //This browser is Internet Explorer 6.x on Windows XP SP2
  } else if (window.navigator.userAgent.indexOf('MSIE 6.0') != -1) {
      i=0; //This browser is Internet Explorer 6.x
  } else if (window.navigator.userAgent.indexOf('MSIE 8.0') != -1) {
      i=55; //This browser is Internet Explorer 8.x
  } else if (window.navigator.userAgent.indexOf('MSIE 9.0') != -1) {
      i=30; //This browser is Internet Explorer 9.x
  } else if (window.navigator.userAgent.indexOf('SeaMonkey') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
      i=0; //This browser is SeaMonkey on Windows
  } else if (window.navigator.userAgent.indexOf('Chrome') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
      i=27; //This browser is Chrome on Windows
  } else if (window.navigator.userAgent.indexOf('Safari') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
      i=3; //This browser is Safari on Windows
  } else if (window.navigator.userAgent.indexOf('Firefox') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
      i=38; //This browser is Firefox on Windows
  } else if (window.navigator.userAgent.indexOf('Mozilla') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
      i=45; //This browser is Mozilla on Windows
  } else if (window.navigator.userAgent.indexOf('Opera') != -1 && window.navigator.userAgent.indexOf("Windows") != -1) {
      i=25; //This browser is Opera on Windows
  } else if (window.navigator.userAgent.indexOf('Safari') != -1 && window.navigator.userAgent.indexOf("Macintosh") != -1) {
      i=0; //This browser is Safari on Mac
  } else if (window.navigator.userAgent.indexOf('Firefox') != -1 && window.navigator.userAgent.indexOf("Macintosh") != -1) {
      i=35; //This browser is Firefox on Intel Mac
  } else if (window.navigator.userAgent.indexOf('Opera') != -1 && window.navigator.userAgent.indexOf("Macintosh") != -1) {
      i=13; //This browser is Opera on Intel Mac

  } else {
      i=80; //This is all other browsers including Mozilla on Linux
  }
23 Aug 2011, 5:27 AM
#22
crunch avatar

crunch

Zen Follower

Join Date:
Mar 2009
Posts:
227
Plugin Contributions:
0

Re: Enlarge product picture is cutoff

Everything looks good, but the image in Firefox 6 is still cutoff. Setting it from 38 to 60 makes it work.

23 Aug 2011, 1:35 PM
#23
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Enlarge product picture is cutoff

If I go to 60 on FireFox then it is way too big ...

Could you PM me your the User Agent from the whos_online when you use FireFox ...

Perhaps some others can test this and also say what operating system they are using ...

24 Aug 2011, 6:11 PM
#24
ebaobao avatar

ebaobao

Zen Follower

Join Date:
Jul 2008
Posts:
495
Plugin Contributions:
0

Re: Enlarge product picture is cutoff

Hi Linda,
I can confirm that your settings hav fixed my problem. I'm using
win 7
IE8.0
Firefox (latest ver, dont know where to find version)
enlarge issue fixed on both of those browsers at least.
Thank You!

2 Oct 2011, 1:42 PM
#25
dysfunctional avatar

dysfunctional

Zen Follower

Join Date:
Apr 2008
Posts:
159
Plugin Contributions:
0

Re: Enlarge product picture is cutoff

Hmm, I've been on mac + firefox since forever and never had any problems with this, until today, when I noticed that the large image popup windows are not being correctly resized any longer - on any zen cart store not using lightbox.

I guess it has to do with a recent firefox update (I'm on 7.0.1 now).

In firefox, the popup window is much to small and has to manually resized. Safari works good, though.

I've tried lindas settings above, cleared cache and even restarted firefox - still no change at all.

I would truly appreciate some help here!

(One option is of course to install the zen lightbox - I had a quick look at it but it seemed a bit complicated as I read reports about it conflicting with Image Handler. I simply do not have the energy to go through all that right now, hehe :).)

Thanks in advance, best regards peter

2 Oct 2011, 5:17 PM
#26
dbltoe avatar

dbltoe

Totally Zenned

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

Re: Enlarge product picture is cutoff

We have always installed Fual Slimbox automatically on every site. It works well with Image Handler, Image Swapper, and all other mods we have on different sites.
Haven't had any problem with any browser including 7.0.1.

9 Oct 2011, 1:24 AM
#27
digsshowroom avatar

digsshowroom

New Zenner

Join Date:
Sep 2008
Posts:
13
Plugin Contributions:
0

Re: Enlarge product picture is cutoff

dysfunctional:

Hmm, I've been on mac + firefox since forever and never had any problems with this, until today, when I noticed that the large image popup windows are not being correctly resized any longer - on any zen cart store not using lightbox.

I guess it has to do with a recent firefox update (I'm on 7.0.1 now).

In firefox, the popup window is much to small and has to manually resized. Safari works good, though.

I've tried lindas settings above, cleared cache and even restarted firefox - still no change at all.

I, too, am on a Mac + Firefox and didn't have a problem with this until recently. It's the same for Mac + Safari and Windows + Firefox. (Windows + IE is fine.)

Wish I had the answer, but hoping that someone will be able to help fix this annoying problem!

19 Nov 2011, 2:56 PM
#28
afkar avatar

afkar

New Zenner

Join Date:
May 2010
Posts:
8
Plugin Contributions:
0

Re: Enlarge product picture is cutoff

digsshowroom:

I, too, am on a Mac + Firefox and didn't have a problem with this until recently. It's the same for Mac + Safari and Windows + Firefox. (Windows + IE is fine.)

Wish I had the answer, but hoping that someone will be able to help fix this annoying problem!

Hi,

no experience on a MAC but I'm running:

version 1.3.9h
win 7
firefox 8.0 (with firebug 1.8.4 add-on)

...and get the irritating non-resizing larger image pop-up window only with firefox (chrome and IE 9 -no problem).

I disabled firebug add-on in firefox ...and problem solved...

HTH

19 Nov 2011, 3:05 PM
#29
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Enlarge product picture is cutoff

Thanks for the update that this is a FireBug issue ... :smile:

29 Dec 2011, 7:38 PM
#30
divavocals avatar

divavocals

Totally Zenned

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

Re: Enlarge product picture is cutoff

Ajeh:

Thanks for the update that this is a FireBug issue ... :smile: Glad I stumbled on this thread.. Since I always use IH3, I never knew this bug existed.. Good info..

dysfunctional:

(One option is of course to install the zen lightbox - I had a quick look at it but it seemed a bit complicated as I read reports about it conflicting with Image Handler. I simply do not have the energy to go through all that right now, hehe :).)

Thanks in advance, best regards peterNo RECENT reports.. Any conflicts RECENTLY reported are due to not following the installation instructions.. Zen Lightbox is easy to install and works JUST FINE with Image Handler3 if you follow the instructions in the Image Handler3 readme for using Image Handler 3 with Zen Lightbox. (and these SAME instructions have been posted REPEATEDLY throughout the Zen Lightbox support thread)

Image Handler 3 also works perfectly with Fual Slimbox as well and there are instructions in the Image Handler readme for installing Fual Slimbox with Image Handler 3.