{"id":35,"date":"2008-11-18T13:15:23","date_gmt":"2008-11-18T17:15:23","guid":{"rendered":"httpss:\/\/www.powenko.com\/blog\/?p=35"},"modified":"2008-11-18T13:15:23","modified_gmt":"2008-11-18T17:15:23","slug":"javascript-rotate-image","status":"publish","type":"post","link":"https:\/\/www.powenko.com\/wordpress\/?p=35","title":{"rendered":"javascript, rotate image"},"content":{"rendered":"<p>I tried to do rotate image file by javascript,<br \/>\nsolution in below,<\/p>\n<p>solution 1: only can working in IE Browser<\/p>\n<p><span style=\"color: #808080; font-family: Courier New;\">someElement.style.filter = &#8216;progid:DXImageTransform.Microsoft.BasicImage(rotation=1)&#8217;; \/\/or 2, or 3<\/span><\/p>\n<p>\u00a0<\/p>\n<p><span style=\"font-family: Courier New;\">solution 2:<br \/>\nWe can used below Javascript Lib, but proforance is slow when you have big image then 100 pixel or GIF animation file,<\/span><\/p>\n<p><a href=\"httpss:\/\/www.walterzorn.com\/rotate_img\/rotate_img.htm\">httpss:\/\/www.walterzorn.com\/rotate_img\/rotate_img.htm<\/a><\/p>\n<p>\u00a0<\/p>\n<p>\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I tried to do rotate image file by javascript, solution [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/35"}],"collection":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=35"}],"version-history":[{"count":0,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/35\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.powenko.com\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}