{"id":79,"date":"2018-10-23T09:31:58","date_gmt":"2018-10-23T19:31:58","guid":{"rendered":"https:\/\/chrisrunnells.wordpress.com\/?p=79"},"modified":"2018-10-23T09:31:58","modified_gmt":"2018-10-23T19:31:58","slug":"gutenberg-image-alignment","status":"publish","type":"post","link":"https:\/\/ec.demo1.app\/?p=79","title":{"rendered":"Gutenberg: Image Alignment"},"content":{"rendered":"\n<p>Welcome to image alignment! The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let\u2019s get started.<\/p>\n\n\n\n<p>On the topic of alignment, it should be noted that users can choose from the options of&nbsp;<em>None\ufeff<\/em>,&nbsp;<em>Left<\/em>,&nbsp;<em>Right, <\/em>and&nbsp;<em>Center<\/em>. In addition, they also get the options of&nbsp;<em>Thumbnail<\/em>,&nbsp;<em>Medium<\/em>,&nbsp;<em>Large<\/em>&nbsp;&amp;&nbsp;<em>Fullsize<\/em>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-580x300.jpg\" alt=\"\" class=\"wp-image-80\" \/><\/figure><\/div>\n\n\n\n<p>The image above happens to be\u00a0<em><strong>centered<\/strong><\/em>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-150x150.jpg\" alt=\"\" class=\"wp-image-81\" \/><\/figure><\/div>\n\n\n\n<p>The rest of this paragraph is filler\u00a0for the sake of seeing the text wrap around the 150\u00d7150 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\u2019ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it\u2019s 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\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-1200x4002.jpg\" alt=\"\" class=\"wp-image-82\" \/><\/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\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-300x200.jpg\" alt=\"\" class=\"wp-image-83\" \/><\/figure><\/div>\n\n\n\n<p>And now we\u2019re 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\u2019t care what the left aligned image says, you look great. Don\u2019t 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 \nright aligned image and settle in nicely. There should still be plenty \nof room and everything should be sitting pretty.&nbsp;Yeah\u2026 Just like that. \nIt never felt so good to be right.<\/p>\n\n\n\n<p>The following image is <em><strong>wide<\/strong><\/em> (if the theme supports it, that is). If not, who knows what will happen!<br><\/p>\n\n\n\n<figure class=\"wp-block-image alignwide\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-1200x4002.jpg\" alt=\"\" class=\"wp-image-82\" \/><\/figure>\n\n\n\n<p>What&#8217;s that? You wanted to see a <strong>full-width image block?<\/strong> Well then feast your eyes on the following.<\/p>\n\n\n\n<figure class=\"wp-block-image alignfull\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/soworthloving-wallpaper.jpg\" alt=\"\" class=\"wp-image-84\" \/><\/figure>\n\n\n\n<p>There&#8217;s something missing! But don&#8217;t worry, we&#8217;ve got the <strong><em>cover image blocks<\/em><\/strong>&#8230; covered.<\/p>\n\n\n\n<div class=\"wp-block-cover-image has-background-dim\" style=\"background-image:url('https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg');\"><p class=\"wp-block-cover-image-text\">This is a regular cover image.<\/p><\/div>\n\n\n\n<div class=\"wp-block-cover-image has-background-dim alignwide\" style=\"background-image:url('https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg');\"><p class=\"wp-block-cover-image-text\">This is a <em>wide<\/em> cover image.<\/p><\/div>\n\n\n\n<div class=\"wp-block-cover-image has-background-dim alignfull\" style=\"background-image:url('https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg');\"><p class=\"wp-block-cover-image-text\">This is a <em>full-width<\/em> cover image.<\/p><\/div>\n\n\n\n<p>And just when you thought we were done, we\u2019re going to do them all over again with captions!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-580x300.jpg\" alt=\"\" class=\"wp-image-80\" \/><figcaption>Look at 580\u00d7300 getting some <a href=\"http:\/\/en.support.wordpress.com\/images\/image-settings\/\">caption<\/a> love.<\/figcaption><\/figure><\/div>\n\n\n\n<p>The image above happens to be\u00a0<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<div class=\"wp-block-image\"><figure class=\"alignleft\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-150x150.jpg\" alt=\"\" class=\"wp-image-81\" \/><figcaption>Itty-bitty caption<\/figcaption><\/figure><\/div>\n\n\n\n<p>The rest of this paragraph is filler\u00a0for the sake of seeing the text wrap around the 150\u00d7150 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\u2019ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it\u2019s 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\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-1200x4002.jpg\" alt=\"\" class=\"wp-image-82\" \/><figcaption>Massive image comment for your eyeballs.<\/figcaption><\/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\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-300x200.jpg\" alt=\"\" class=\"wp-image-83\" \/><figcaption>Feels good to be right all the time.<\/figcaption><\/figure><\/div>\n\n\n\n<p>And now we\u2019re 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\u2019t care what the left aligned image says, you look great. Don\u2019t 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>We&#8217;re gonna take one more trip down cover image lane.<\/p>\n\n\n\n<div class=\"wp-block-cover-image has-background-dim\" style=\"background-image:url('https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg');\"><p class=\"wp-block-cover-image-text\">The <strong>unicorn<\/strong> is a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Legendary_creature\">legendary creature<\/a> that has been described since antiquity as a beast with a single large, pointed, spiraling horn projecting from it&#8217;s forehead. In European folklore, the unicorn is often depicted as a white horse-like or goat-like animal with a long horn and clove hooves. <br><br>In the Middle Ages and Renaissance, it was commonly described as an extremely wild woodland creature, a symbol of purity and grace, which could be captured only by a virgin.<br><\/p><\/div>\n\n\n\n<div class=\"wp-block-cover-image has-background-dim has-parallax alignwide\" style=\"background-image:url('https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/manuel-will-156344-unsplash.jpg');\"><p class=\"wp-block-cover-image-text\">This wide cover image background is fixed.<br><\/p><\/div>\n\n\n\n<p>And that\u2019s a wrap, yo! You survived the&nbsp;tumultuous&nbsp;waters of alignment. Image alignment achievement unlocked!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Welcome to image alignment! The best way to demonstrate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[32],"class_list":["post-79","post","type-post","status-publish","format-standard","hentry","category-gutenberg","tag-alignments"],"_links":{"self":[{"href":"https:\/\/ec.demo1.app\/index.php?rest_route=\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ec.demo1.app\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ec.demo1.app\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ec.demo1.app\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ec.demo1.app\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":0,"href":"https:\/\/ec.demo1.app\/index.php?rest_route=\/wp\/v2\/posts\/79\/revisions"}],"wp:attachment":[{"href":"https:\/\/ec.demo1.app\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ec.demo1.app\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ec.demo1.app\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}