{"id":78,"date":"2013-03-28T00:21:12","date_gmt":"2013-03-28T00:21:12","guid":{"rendered":"https:\/\/adeelejaz.com\/blog\/?p=78"},"modified":"2016-01-13T00:01:57","modified_gmt":"2016-01-13T00:01:57","slug":"resize-image-without-using-javascript-or-jquery","status":"publish","type":"post","link":"https:\/\/adeelejaz.com\/blog\/resize-image-without-using-javascript-or-jquery\/","title":{"rendered":"Resize image without using JavaScript or jQuery"},"content":{"rendered":"<p>I&#8217;ve written a nice plugin had resizes images using jQuery but things have moved on a lot since. The plugin is mainly there for Internet Explorer 6! If you do not need to support IE6, then there is a method available that does not need JavaScript or jQuery at all.<\/p>\n<p>Here is a working example:<\/p>\n<p class=\"codepen\" data-height=\"350\" data-theme-id=\"0\" data-slug-hash=\"esGIy\" data-default-tab=\"result\" data-user=\"adeelejaz\">\n<p><script src=\"\/\/codepen.io\/assets\/embed\/ei.js\" async=\"\"><\/script><\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content --><p class=\"wp-flattr-button\"><a href=\"https:\/\/adeelejaz.com\/blog\/?flattrss_redirect&amp;id=78&amp;md5=73d18f7c9e2ad5f8e74865cff59d7b30\" title=\"Flattr\" target=\"_blank\"><img src=\"https:\/\/adeelejaz.com\/blog\/wp-content\/plugins\/flattr\/img\/flattr-badge-white.png\" srcset=\"https:\/\/adeelejaz.com\/blog\/wp-content\/plugins\/flattr\/img\/flattr-badge-white.png, https:\/\/adeelejaz.com\/blog\/wp-content\/plugins\/flattr\/img\/flattr-badge-white@2x.png 2xhttps:\/\/adeelejaz.com\/blog\/wp-content\/plugins\/flattr\/img\/flattr-badge-white.png, https:\/\/adeelejaz.com\/blog\/wp-content\/plugins\/flattr\/img\/flattr-badge-white@3x.png 3x\" alt=\"Flattr this!\"\/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve written a nice plugin had resizes images using jQuery but things have moved on a lot since. The plugin is mainly there for Internet Explorer 6! If you do not need to support IE6, then there is a method available that does not need JavaScript or jQuery at all. Here is a working example:<!-- AddThis Advanced Settings generic via filter on wp_trim_excerpt --><!-- AddThis Share Buttons generic via filter on wp_trim_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-jquery-image-resize-plugin"],"_links":{"self":[{"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":2,"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/posts\/78\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/adeelejaz.com\/blog\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}