{"id":79,"date":"2024-10-24T11:50:58","date_gmt":"2024-10-24T02:50:58","guid":{"rendered":"https:\/\/chrisrunnells.wordpress.com\/?p=79"},"modified":"2024-11-22T10:54:52","modified_gmt":"2024-11-22T01:54:52","slug":"gutenberg-image-alignment","status":"publish","type":"post","link":"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/79","title":{"rendered":"\u753b\u50cf\u914d\u7f6e\u30c6\u30b9\u30c8"},"content":{"rendered":"\n<p class=\"deb-block deb-block-d1fef58\">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 class=\"deb-block deb-block-37891d7\">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<div class=\"wp-block-image\">\n<figure class=\"aligncenter has-custom-border deb-block deb-block-bb5d3e2\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-580x300.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-80\"\/><\/figure>\n<\/div>\n\n\n<p class=\"deb-block deb-block-4b98b84\">The image above happens to be&nbsp;<em><strong>centered<\/strong><\/em>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"alignleft has-custom-border deb-block deb-block-25e3b3f\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-150x150.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-81\"\/><\/figure>\n<\/div>\n\n\n<p class=\"deb-block deb-block-153917b\">The rest of this paragraph is filler&nbsp;for 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 class=\"deb-block deb-block-f309463\">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 class=\"deb-block deb-block-a8563e7\">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 has-custom-border deb-block deb-block-92178da\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-1200x4002.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-82\"\/><\/figure>\n\n\n\n<p class=\"deb-block deb-block-83af868\">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<div class=\"wp-block-image\">\n<figure class=\"alignright has-custom-border deb-block deb-block-a4320a3\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-300x200.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-83\"\/><\/figure>\n<\/div>\n\n\n<p class=\"deb-block deb-block-9b646ec\">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 class=\"deb-block deb-block-3dc6d36\">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 class=\"deb-block deb-block-d93e7b3\">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 has-custom-border deb-block deb-block-1e3af8e\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-1200x4002.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-82\"\/><\/figure>\n\n\n\n<p class=\"deb-block deb-block-7362b86\">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 has-custom-border deb-block deb-block-b4b3fe7\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/soworthloving-wallpaper.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-84\"\/><\/figure>\n\n\n\n<p class=\"deb-block deb-block-3510211\">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 is-light wp-block-cover-image has-background-dim has-ffffff-color has-text-color media__image custom-txt-color deb-block deb-block-7db8882\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"><\/span><img decoding=\"async\" class=\"wp-block-cover__image-background wp-image-85\" alt=\"\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg\" data-object-fit=\"cover\"\/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size deb-block deb-block-bbe3d5c\">This is a regular cover image.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover alignwide is-light wp-block-cover-image has-background-dim has-ffffff-color has-text-color media__image custom-txt-color deb-block deb-block-2fe549c\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"><\/span><img decoding=\"async\" class=\"wp-block-cover__image-background wp-image-85\" alt=\"\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg\" data-object-fit=\"cover\"\/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size deb-block deb-block-f7eaec2\">This is a\u00a0<em>wide<\/em>\u00a0cover image.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover alignfull is-light wp-block-cover-image has-background-dim has-ffffff-color has-text-color media__image custom-txt-color deb-block deb-block-0139136\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"><\/span><img decoding=\"async\" class=\"wp-block-cover__image-background wp-image-85\" alt=\"\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg\" data-object-fit=\"cover\"\/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size deb-block deb-block-69052ee\">This is a\u00a0<em>full-width<\/em>\u00a0cover image.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"deb-block deb-block-a321113\">And just when you thought we were done, we\u2019re going to do them all over again with captions!<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter has-custom-border deb-block deb-block-a5e5fa9\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-580x300.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-80\"\/><figcaption class=\"wp-element-caption\">Look at 580\u00d7300 getting some <a href=\"http:\/\/en.support.wordpress.com\/images\/image-settings\/\">caption<\/a> love.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"deb-block deb-block-6488145\">The image above happens to be&nbsp;<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<div class=\"wp-block-image\">\n<figure class=\"alignleft has-custom-border deb-block deb-block-1c05228\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-150x150.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-81\"\/><figcaption class=\"wp-element-caption\">Itty-bitty caption<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"deb-block deb-block-86d8c95\">The rest of this paragraph is filler&nbsp;for 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 class=\"deb-block deb-block-dc11ab9\">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 class=\"deb-block deb-block-385253a\">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 has-custom-border deb-block deb-block-99c309c\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-1200x4002.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-82\"\/><figcaption class=\"wp-element-caption\">Massive image comment for your eyeballs.<\/figcaption><\/figure>\n\n\n\n<p class=\"deb-block deb-block-2be6f39\">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<div class=\"wp-block-image\">\n<figure class=\"alignright has-custom-border deb-block deb-block-fd0dfd8\"><img decoding=\"async\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/image-alignment-300x200.jpg\" alt=\"\" class=\"has-border-color has-aaaaaa-border-color wp-image-83\"\/><figcaption class=\"wp-element-caption\">Feels good to be right all the time.<\/figcaption><\/figure>\n<\/div>\n\n\n<p class=\"deb-block deb-block-3b03ece\">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 class=\"deb-block deb-block-1447e9c\">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 class=\"deb-block deb-block-1f386df\">We&#8217;re gonna take one more trip down cover image lane.<\/p>\n\n\n\n<div class=\"wp-block-cover is-light wp-block-cover-image has-background-dim has-ffffff-color has-text-color media__image custom-txt-color deb-block deb-block-74a3596\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"><\/span><img decoding=\"async\" class=\"wp-block-cover__image-background wp-image-85\" alt=\"\" src=\"https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/unicorn-wallpaper.jpg\" data-object-fit=\"cover\"\/><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center deb-block deb-block-8305dc7\" style=\"font-size:26px\">The&nbsp;<strong>unicorn<\/strong>&nbsp;is a&nbsp;<a href=\"https:\/\/en.wikipedia.org\/wiki\/Legendary_creature\">legendary creature<\/a>&nbsp;that has been described since antiquity as a beast with a single large, pointed, spiraling horn projecting from it\u2019s 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.<\/p>\n\n\n\n<p class=\"has-text-align-center deb-block deb-block-ac82c76\" style=\"font-size:26px\">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.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-cover alignwide is-light has-parallax wp-block-cover-image has-background-dim has-ffffff-color has-text-color media__image custom-txt-color deb-block deb-block-8b72e54\"><span aria-hidden=\"true\" class=\"wp-block-cover__background has-background-dim-0 has-background-dim\"><\/span><div class=\"wp-block-cover__image-background wp-image-86 has-parallax\" style=\"background-position:50% 50%;background-image:url(https:\/\/chrisrunnells.files.wordpress.com\/2018\/10\/manuel-will-156344-unsplash.jpg)\"><\/div><div class=\"wp-block-cover__inner-container is-layout-flow wp-block-cover-is-layout-flow\">\n<p class=\"has-text-align-center has-large-font-size deb-block deb-block-68e074e\">This wide cover image background is fixed.<\/p>\n<\/div><\/div>\n\n\n\n<p class=\"deb-block deb-block-808cfd8\">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":"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. On the topic of alignment, it should be noted that users can choose from the options of&nbsp;None\ufeff,&nbsp;Left,&nbsp;Ri&hellip;","protected":false},"author":1,"featured_media":212,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,9,11,13,10,12,14],"tags":[7,19,17,21,8,16,20,18],"class_list":{"0":"post-79","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-gutenberg","8":"category-category-a","9":"category-child-category-a-1","10":"category-child-category-a-2","11":"category-category-b","12":"category-child-category-b-1","13":"category-blog","14":"tag-alignments","15":"tag-css","16":"tag-digipress","17":"tag-gutenberg","18":"tag-widgets","19":"tag-16","21":"tag-18"},"featured_image_urls":{"full":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26.jpg",1500,1061,false],"thumbnail":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26.jpg",128,91,false],"medium":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-800x566.jpg",800,566,true],"medium_large":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-768x543.jpg",768,543,true],"large":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26.jpg",1500,1061,false],"1536x1536":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26.jpg",1500,1061,false],"2048x2048":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26.jpg",1500,1061,false],"dp-widget-thumb":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-140x96.jpg",140,96,true],"dp-widget-thumb-2x":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-280x192.jpg",280,192,true],"dp-related-thumb":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-250x154.jpg",250,154,true],"dp-related-thumb-2x":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-500x308.jpg",500,308,true],"dp-archive-thumb":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-450x318.jpg",450,318,true],"dp-archive-thumb-2x":["https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-content\/uploads\/sites\/74\/2024\/11\/lemon_cream26-900x637.jpg",900,637,true]},"category_list":"<a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/gutenberg\" rel=\"category tag\">Gutenberg<\/a>, <a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/category-a\" rel=\"category tag\">\u30ab\u30c6\u30b4\u30ea\u30fcA<\/a>, <a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/category-a\/child-category-a-1\" rel=\"category tag\">\u5b50\u30ab\u30c6\u30b4\u30ea\u30fcA-1<\/a>, <a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/category-a\/child-category-a-2\" rel=\"category tag\">\u5b50\u30ab\u30c6\u30b4\u30ea\u30fcA-2<\/a>, <a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/category-b\" rel=\"category tag\">\u30ab\u30c6\u30b4\u30ea\u30fcB<\/a>, <a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/category-b\/child-category-b-1\" rel=\"category tag\">\u5b50\u30ab\u30c6\u30b4\u30ea\u30fcB-1<\/a>, <a href=\"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/category\/blog\" rel=\"category tag\">\u30d6\u30ed\u30b0<\/a>","author_info":{"name":"DigiPress \u30b5\u30dd\u30fc\u30c8","url":"https:\/\/skin.dpthemes.net\/lemon-cream1\/archives\/author\/dpcustomskinadmin"},"comments_num":"0 comments","_links":{"self":[{"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/posts\/79","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/comments?post=79"}],"version-history":[{"count":0,"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/posts\/79\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/media\/212"}],"wp:attachment":[{"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/media?parent=79"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/categories?post=79"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skin.dpthemes.net\/lemon-cream1\/wp-json\/wp\/v2\/tags?post=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}