{"issue":{"state":"open","created_at":"2011-11-24T20:45:49Z","updated_at":"2011-11-24T20:45:49Z","user":{"gravatar_id":"bef49aa76635162e3588b7a10dfd66d2","id":1121217,"url":"https://api.github.com/users/joni78","login":"joni78","avatar_url":"https://secure.gravatar.com/avatar/bef49aa76635162e3588b7a10dfd66d2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"body":"Hi,\r\n\r\nI am using your JQuery 2D transform plugin to rotate images as follows: \r\n\r\n$(\"#crop_container img\").transform(\r\n{\r\n\ttranslateX: translateX+'px',\r\n\ttranslateY: translateY+'px',\r\n\trotate: rotation+'deg'\r\n});\r\n\r\nWhere the crop_container is an absolutely positioned div wrapped around the image as you suggested in another issue. The translation is calculated on basis of the image orientation (portrait/landscape) and its rotation. For landscape and 90 or 270 degrees it is:\r\n\r\ntranslate=(imagewidth-imageheight)/2;\r\ntranslateX = '-'+translate; \r\ntranslateY = translate; \r\n\r\n\r\nAll is good in FF/Webkit/IE9, but in IE8 it seems the translation is off. I read in a wiki page that \"IE also lacks support for transform-origin and translate() [...] The jQuery Transform plug-in handles these calculations automatically\". If this is true then I must be doing something wrong or there is a bug.\r\n\r\nAny ideas/advice?\r\n\r\nThanks!","assignee":null,"id":2344827,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":31,"title":"translation not working properly in IE8","closed_at":null,"html_url":"https://github.com/heygrady/transform/issues/31","milestone":null,"url":"https://api.github.com/repos/heygrady/transform/issues/31"},"action":"opened"}