natashawylie / iviewer

image viewer plugin for jquery
233 stars 97 forks source link

Fixed rotation support in IE7 #51

Closed friscoMad closed 11 years ago

friscoMad commented 11 years ago

The already merged fix for #44 breaks support for IE7 and I was unable to get the original modernizr code that seems to be the base as there are no ie filter check (there is a css filter check but is for new CSS3 filter support), so I included the transform check, so if there is no transform support then we use the old ie filter.

friscoMad commented 11 years ago

Demo code works but it doesn't use the same code as the latest version. I did test the code on latest FF and IE7, will do some more test as I will be using this in production, but seems safe for now.

can3p commented 11 years ago

It seems that it's a pretty reliable fallback, don't see the reason to support ancient versions of firefox or alike that do not support transforms