Closed (duplicate)
Project:
AT Commerce
Version:
7.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Dec 2011 at 19:53 UTC
Updated:
4 Jan 2012 at 07:41 UTC
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
| Comment | File | Size | Author |
|---|---|---|---|
| colorbox render.JPG | 44.43 KB | AllyMediaGroup |
Comments
Comment #1
Jeff Burnz commentedsounds like an edge case
Comment #2
AllyMediaGroup commentedCould you please extrapolate on what your meaning?
Comment #3
Jeff Burnz commentedWhat 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.
Comment #4
AllyMediaGroup commentedI added
to my styles.custom.css and it has fixed the colorbox and image problem on the site.
Comment #5
Jeff Burnz commentedPlease 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).