When you click on the image and it opens in colorbox the image width is not being set. This only happens in IE8, in IE6, 7, & 9 the colorbox renders properly.

I attached a screen shot of the issue

CommentFileSizeAuthor
colorbox render.JPG44.43 KBAllyMediaGroup

Comments

Jeff Burnz’s picture

Status: Active » Closed (won't fix)

sounds like an edge case

AllyMediaGroup’s picture

Version: 7.x-2.0-beta2 » 7.x-2.0-rc1
Status: Closed (won't fix) » Needs work

Could you please extrapolate on what your meaning?

Jeff Burnz’s picture

Status: Needs work » Active

What I mean is that the number of people using at commerce + colorbox + IE8 is going to be very small. If this is really important to someone and they can debug it (i.e. tell me precisely what the issue is), then I would consider working on a fix, but my time is quite limited, and debugging this is not really the most important thing to me. I did spend some time on it, couldn't really see what the problem was, so I don't know, and I don't have hours and hours to work on small issues that only affect a handful of end users.

AllyMediaGroup’s picture

I added

img {
  max-width: none;
}

to my styles.custom.css and it has fixed the colorbox and image problem on the site.

Jeff Burnz’s picture

Status: Active » Closed (duplicate)

Please see: http://drupal.org/node/1361920

Users should avoid using this fix, it will remove the responsiveness off all images and most people will not want this - in effect this is a brutal hack to force Media Gallery Colorbox to scale the image correctly, whereas the normal Colorbox module works just fine - the problem is not with the CSS in this theme, the problem is with how Media Gallery Colorbox is sizing images (its supposed to read the width and height from the image tag, but I think they are trying to do something more tricky because when D7 first shipped this attribute data was missing from img elements).