{"id":1788,"date":"2018-11-03T12:20:00","date_gmt":"2018-11-03T12:20:00","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1755"},"modified":"2018-11-03T12:20:00","modified_gmt":"2018-11-03T12:20:00","slug":"block-image","status":"publish","type":"post","link":"https:\/\/blog.uvm.edu\/manual\/2018\/11\/03\/block-image\/","title":{"rendered":"Block: Image"},"content":{"rendered":"\n<p>Images get placed on a page with the &#8220;IMAGE&#8221; block. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"170\" height=\"170\" src=\"http:\/\/blog.uvm.edu\/manual-test\/files\/2019\/09\/Image_150x150.jpg\" alt=\"\" class=\"wp-image-3822\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/09\/Image_150x150.jpg 170w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/09\/Image_150x150-150x150.jpg 150w\" sizes=\"auto, (max-width: 170px) 100vw, 170px\" \/><\/figure>\n\n\n\n<p>You can choose alignment <em>None<\/em>, <em>Left<\/em>, <em>Right, <\/em>and <em>Center<\/em>. The next release of our theme will add support for <em>align wide<\/em>,&nbsp;and <em>full width<\/em>. <\/p>\n\n\n\n<p>TIP: Try to avoid having images flush right or left with text wrapping as this formatting doesn&#8217;t work well on mobile. You end up with incredibly narrow line lengths for text, making your site hard to read on mobile.<\/p>\n\n\n\n<p>WordPress also allows you to set the image dimensions to 25%, 50%, 75%, 100% or a set width and height. Make every effort to optimize your image to the desired width and height so images are not scaled &#8220;on the fly&#8221;. Scaling images in the browser slows down the page load and makes your pages &#8220;heavier&#8221; with more data to download than needed for the layout.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/wptest.sdelling.w3.uvm.edu\/wp-content\/uploads\/2019\/08\/FPO__SQ-20180622_Paul_Bierman_Lab-148.jpg\" alt=\"A student working in one of UVM's laboratories\" class=\"wp-image-2728\" \/><figcaption>Paul Bierman Lab<\/figcaption><\/figure><\/div>\n\n\n\n<p>The image above is <em><strong>centered<\/strong><\/em>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"280\" src=\"http:\/\/blog.uvm.edu\/manual-test\/files\/2019\/08\/SQ_SeaGrant.jpg\" alt=\"Young woman with baseball cap\" class=\"wp-image-2840\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/SQ_SeaGrant.jpg 280w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/SQ_SeaGrant-150x150.jpg 150w\" sizes=\"auto, (max-width: 280px) 100vw, 280px\" \/><\/figure><\/div>\n\n\n\n<p>The rest of this paragraph is filler for the sake of seeing the text wrap around the 150&#215;150 image, which is <em><strong>left aligned<\/strong><\/em>. <\/p>\n\n\n\n<p>As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we&#8217;ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it&#8217;s thang. Mission accomplished!<\/p>\n\n\n\n<p>And now for a <em><strong>massively large image<\/strong><\/em>. It also has <em><strong>no alignment<\/strong><\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"http:\/\/blog.uvm.edu\/manual-test\/files\/2019\/08\/FPO_20161025_Campus_Fall-2-1024x681.jpg\" alt=\"UVM campus in fall, aerial view\" class=\"wp-image-2516\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20161025_Campus_Fall-2-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20161025_Campus_Fall-2-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20161025_Campus_Fall-2-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20161025_Campus_Fall-2.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"335\" height=\"335\" src=\"http:\/\/blog.uvm.edu\/manual-test\/files\/2019\/08\/SQ_watershedAlliance.jpg\" alt=\"\" class=\"wp-image-2842\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/SQ_watershedAlliance.jpg 335w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/SQ_watershedAlliance-150x150.jpg 150w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/SQ_watershedAlliance-300x300.jpg 300w\" sizes=\"auto, (max-width: 335px) 100vw, 335px\" \/><\/figure><\/div>\n\n\n\n<p>And now we&#8217;re going to shift things to the <em><strong>right align<\/strong><\/em>. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there\u2026 Hey guy! Way to rock that right side. I don&#8217;t care what the left aligned image says, you look great. Don&#8217;t let anyone else tell you differently.<\/p>\n\n\n\n<p>In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah\u2026 Just like that. It never felt so good to be right.<\/p>\n\n\n\n<p>And just when you thought we were done, we&#8217;re going to do them all over again with captions!<\/p>\n\n\n\n<div class=\"wp-block-image size-full wp-image-906\"><figure class=\"alignleft size-medium\"><a href=\"https:\/\/en.support.wordpress.com\/images\/image-settings\/\"><img loading=\"lazy\" decoding=\"async\" width=\"300\" height=\"233\" src=\"http:\/\/blog.uvm.edu\/manual-test\/files\/2019\/08\/UVM-UniversitySeal-green-300x233.png\" alt=\"University of Vermont seal\" class=\"wp-image-3352\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/UVM-UniversitySeal-green-300x233.png 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/UVM-UniversitySeal-green-768x595.png 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/UVM-UniversitySeal-green-1024x794.png 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/UVM-UniversitySeal-green.png 2000w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>The image above happens to be <em><strong>centered<\/strong><\/em>. The caption also has a link in it, just to see if it does anything funky.<\/p>\n\n\n\n<p>The rest of this paragraph is filler for the sake of seeing the text wrap around the 150&#215;150 image, which is <em><strong>left aligned<\/strong><\/em>. <\/p>\n\n\n\n<p>As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we&#8217;ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it&#8217;s thang. Mission accomplished!<\/p>\n\n\n\n<p>And now for a <em><strong>massively large image<\/strong><\/em>. It also has <em><strong>no alignment<\/strong><\/em>.<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone size-large wp-image-907\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"681\" src=\"http:\/\/blog.uvm.edu\/manual-test\/files\/2019\/08\/FPO_20130507_Spring-109-1024x681.jpg\" alt=\"UVM campus in the spring\" class=\"wp-image-2500\" srcset=\"https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20130507_Spring-109-1024x681.jpg 1024w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20130507_Spring-109-300x200.jpg 300w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20130507_Spring-109-768x511.jpg 768w, https:\/\/blog.uvm.edu\/manual\/files\/2019\/08\/FPO_20130507_Spring-109.jpg 1500w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The image above, though 1200px wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.<\/p>\n\n\n\n<div style=\"height:120px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Images get placed on a page with the &#8220;IMAGE&#8221; block. You can choose alignment None, Left, Right, and Center. The next release of our theme will add support for align wide,&nbsp;and full width. TIP: Try to avoid having images flush right or left with text wrapping as this formatting doesn&#8217;t work well on mobile. You &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.uvm.edu\/manual\/2018\/11\/03\/block-image\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Block: Image&#8221;<\/span><\/a><\/p>\n","protected":false},"author":5625,"featured_media":3928,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[258709,2899,246029],"tags":[247],"class_list":["post-1788","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-block","category-images","category-media-2","tag-image","entry"],"featured_image_src":"https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg","featured_image_src_square":"https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg","author_info":{"display_name":"smasonla","author_link":"https:\/\/blog.uvm.edu\/manual\/author\/smasonla\/"},"rttpg_featured_image_url":{"full":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"landscape":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"portraits":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"thumbnail":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01-150x150.jpg",150,150,true],"medium":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01-300x200.jpg",300,200,true],"large":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"1536x1536":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"2048x2048":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"ab-block-post-grid-landscape":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"ab-block-post-grid-square":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false],"post-thumbnail":["https:\/\/blog.uvm.edu\/manual\/files\/2018\/11\/image__icon_1500x1000_01.jpg",426,284,false]},"rttpg_author":{"display_name":"smasonla","author_link":"https:\/\/blog.uvm.edu\/manual\/author\/smasonla\/"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/blog.uvm.edu\/manual\/category\/block\/\" rel=\"category tag\">Block<\/a> <a href=\"https:\/\/blog.uvm.edu\/manual\/category\/images\/\" rel=\"category tag\">Image Styles<\/a> <a href=\"https:\/\/blog.uvm.edu\/manual\/category\/media-2\/\" rel=\"category tag\">Media<\/a>","rttpg_excerpt":"Images get placed on a page with the &#8220;IMAGE&#8221; block. You can choose alignment None, Left, Right, and Center. The next release of our theme will add support for align wide,&nbsp;and full width. TIP: Try to avoid having images flush right or left with text wrapping as this formatting doesn&#8217;t work well on mobile. You&hellip;","_links":{"self":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts\/1788","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/users\/5625"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/comments?post=1788"}],"version-history":[{"count":0,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/posts\/1788\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/media\/3928"}],"wp:attachment":[{"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/media?parent=1788"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/categories?post=1788"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.uvm.edu\/manual\/wp-json\/wp\/v2\/tags?post=1788"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}