{"id":798,"date":"2009-11-01T15:01:35","date_gmt":"2009-11-01T21:01:35","guid":{"rendered":"http:\/\/macblaze.ca\/?p=798"},"modified":"2009-12-15T22:04:30","modified_gmt":"2009-12-16T05:04:30","slug":"resizing-images","status":"publish","type":"post","link":"https:\/\/macblaze.ca\/?p=798","title":{"rendered":"Resizing Images"},"content":{"rendered":"<p>I was reading an article that said WordPress now (ver 2.5 and higher) actually resizes images upon upload. If so I hadn&#8217;t realized this was built in now. Here is a 2 meg jpeg 3072 x 2304 pixels taken last night (Halloween 2009 by famous photographer C).  Let us upload it to a few different sizes and see&#8230;<\/p>\n<p><a href=\"http:\/\/macblaze.ca\/wp-content\/uploads\/2009\/11\/P1050240.JPG\" rel=\"shadowbox\"><img loading=\"lazy\" src=\"http:\/\/macblaze.ca\/wp-content\/uploads\/2009\/11\/P1050240-400x300.jpg\" alt=\"P1050240\" title=\"P1050240\" width=\"400\" height=\"300\" class=\"alignleft size-medium wp-image-799\" srcset=\"https:\/\/macblaze.ca\/wp-content\/uploads\/2009\/11\/P1050240-400x300.jpg 400w, https:\/\/macblaze.ca\/wp-content\/uploads\/2009\/11\/P1050240-1024x768.jpg 1024w\" sizes=\"(max-width: 400px) 100vw, 400px\" \/><\/a><br \/>\n<em>Published at medium setting (400 x 300)<\/em><\/p>\n<hr \/>\n<p>Well what do you know, it works&#8230; Now in the upload folder are 4 files: the original sized P1050240.JPG, P1050240-150&#215;150.JPG, P1050240-400&#215;300.JPG and P1050240-1024&#215;768.JPG<\/p>\n<p>I&#8217;ll have  to try this on <a href=\"http:\/\/www.enjoygardening.com\">enjoygardening.com<\/a> which I haven&#8217;t kept as up-to-date and make J&#8217;s job a bit easier&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I was reading an article that said WordPress now (ver 2.5 and higher) actually resizes images upon upload. If so I hadn&#8217;t realized this was built in now. Here is a 2 meg jpeg 3072 x 2304 pixels taken last night (Halloween 2009 by famous photographer C). Let us upload it to a few different [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/798"}],"collection":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=798"}],"version-history":[{"count":0,"href":"https:\/\/macblaze.ca\/index.php?rest_route=\/wp\/v2\/posts\/798\/revisions"}],"wp:attachment":[{"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=798"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=798"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/macblaze.ca\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=798"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}