{"id":844,"date":"2015-01-12T01:47:50","date_gmt":"2015-01-12T01:47:50","guid":{"rendered":"http:\/\/demo.wphoot.com\/chromatic\/?p=48"},"modified":"2021-10-06T13:03:50","modified_gmt":"2021-10-06T13:03:50","slug":"markup-image-alignment","status":"publish","type":"post","link":"https:\/\/directelectricalservices.com\/index.php\/2015\/01\/12\/markup-image-alignment\/","title":{"rendered":"Markup: Image Alignment"},"content":{"rendered":"<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&#8217;s get started.<\/p>\n<p style=\"text-align:center\"><img loading=\"lazy\" src=\"http:\/\/localhost\/00Working\/wt-responsivebrix2demo\/wp-content\/uploads\/2015\/01\/placeholder-02.jpg\" alt=\"placeholder-02\" width=\"580\" height=\"300\" class=\"aligncenter size-full wp-image-60\" \/><\/p>\n<p>The image above happens to be\u00a0<em><strong>centered<\/strong><\/em>.<\/p>\n<p><img loading=\"lazy\" src=\"http:\/\/localhost\/00Working\/wt-responsivebrix2demo\/wp-content\/uploads\/2015\/01\/placeholder-03.jpg\" alt=\"placeholder-03\" width=\"150\" height=\"150\" class=\"alignleft size-full wp-image-57\" \/>The rest of this paragraph is filler\u00a0for the sake of seeing the text wrap around the 150&#215;150 image, which is <em><strong>left aligned<\/strong><\/em>.<\/p>\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\u00a0sentence\u00a0here, we&#8217;ll see that the text moves from the right of the image down below the image in\u00a0seamless\u00a0transition. Again, letting the do it&#8217;s thang.\u00a0Mission accomplished!<\/p>\n<p>And now for a <em><strong>massively large image<\/strong><\/em>. It also has <em><strong>no alignment<\/strong><\/em>.<\/p>\n<p><img data-attachment-id=\"58\" data-permalink=\"https:\/\/directelectricalservices.com\/hoodie_5_back\/\" data-orig-file=\"https:\/\/directelectricalservices.com\/wp-content\/uploads\/2013\/06\/hoodie_5_back.jpg\" data-orig-size=\"1000,1000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"hoodie_5_back\" data-image-description=\"\" data-medium-file=\"https:\/\/directelectricalservices.com\/wp-content\/uploads\/2013\/06\/hoodie_5_back-300x300.jpg\" data-large-file=\"https:\/\/directelectricalservices.com\/wp-content\/uploads\/2013\/06\/hoodie_5_back.jpg\" loading=\"lazy\" src=\"http:\/\/localhost\/00Working\/wt-responsivebrix2demo\/wp-content\/uploads\/2015\/01\/placeholder-04.jpg\" alt=\"placeholder-04\" width=\"1200\" height=\"400\" class=\"alignnone size-full wp-image-58\" \/><\/p>\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<p><img loading=\"lazy\" src=\"http:\/\/localhost\/00Working\/wt-responsivebrix2demo\/wp-content\/uploads\/2015\/01\/placeholder-05.jpg\" alt=\"placeholder-05\" width=\"300\" height=\"200\" class=\"alignright size-full wp-image-59\" \/>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&#8230; 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<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.\u00a0Yeah&#8230; Just like that. It never felt so good to be right.<\/p>\n<h3>Images With Captions<\/h3>\n<p>And just when you thought we were done, we&#8217;re going to do them all over again with captions!<\/p>\n<figure id=\"attachment_60\" aria-describedby=\"caption-attachment-60\" style=\"width: 580px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" src=\"http:\/\/localhost\/00Working\/wt-responsivebrix2demo\/wp-content\/uploads\/2015\/01\/placeholder-02.jpg\" alt=\"Look at 580x300 getting some caption love.\" width=\"580\" height=\"300\" class=\"size-full wp-image-60\" \/><figcaption id=\"caption-attachment-60\" class=\"wp-caption-text\">Look at 580&#215;300 getting some <a title=\"Image Settings\" href=\"http:\/\/en.support.wordpress.com\/images\/image-settings\/\">caption<\/a> love.<\/figcaption><\/figure>\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<figure id=\"attachment_57\" aria-describedby=\"caption-attachment-57\" style=\"width: 150px\" class=\"wp-caption alignleft\"><img data-attachment-id=\"57\" data-permalink=\"https:\/\/directelectricalservices.com\/hoodie_5_front\/\" data-orig-file=\"https:\/\/directelectricalservices.com\/wp-content\/uploads\/2013\/06\/hoodie_5_front.jpg\" data-orig-size=\"1000,1000\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"hoodie_5_front\" data-image-description=\"\" data-medium-file=\"https:\/\/directelectricalservices.com\/wp-content\/uploads\/2013\/06\/hoodie_5_front-300x300.jpg\" data-large-file=\"https:\/\/directelectricalservices.com\/wp-content\/uploads\/2013\/06\/hoodie_5_front.jpg\" loading=\"lazy\" src=\"http:\/\/localhost\/00Working\/wt-responsivebrix2demo\/wp-content\/uploads\/2015\/01\/placeholder-03.jpg\" alt=\"Itty-bitty caption.\" width=\"150\" height=\"150\" class=\"size-full wp-image-57\" \/><figcaption id=\"caption-attachment-57\" class=\"wp-caption-text\">Itty-bitty caption.<\/figcaption><\/figure>\n<p><strong><\/strong>The rest of this paragraph is filler\u00a0for the sake of seeing the text wrap around the 150&#215;150 image, which is <em><strong>left aligned<\/strong><\/em>.\u00a0<strong><\/strong><\/p>\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\u00a0sentence\u00a0here, we&#8217;ll see that the text moves from the right of the image down below the image in\u00a0seamless\u00a0transition. Again, letting the do it&#8217;s thang. Mission accomplished!<\/p>\n<p>And that&#8217;s a wrap, yo! You survived the\u00a0tumultuous\u00a0waters of alignment. Image alignment achievement unlocked!<\/p>\n","protected":false},"excerpt":{"rendered":"<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&#8217;s get started. The image above happens to be\u00a0centered. The rest of this paragraph is filler\u00a0for the sake of seeing the text wrap around the 150&#215;150 image, which is left aligned. 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<span class=\"more-link\"><a href=\"https:\/\/directelectricalservices.com\/index.php\/2015\/01\/12\/markup-image-alignment\/\">Read More &rarr;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":775,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,6,7,1],"tags":[9,10,12,13,20,23],"jetpack-related-posts":[{"id":171,"url":"https:\/\/directelectricalservices.com\/index.php\/2015\/01\/12\/markup-html-tags-and-formatting\/","url_meta":{"origin":844,"position":0},"title":"Markup: HTML Tags and Formatting","date":"January 12, 2015","format":false,"excerpt":"Default Text Align - Left Align This is a paragraph. It is left aligned. Because of this, it is a bit more liberal in it's views. It's favorite color is green. Left align tends to be more eco-friendly, but it provides no concrete evidence that it really is. Even though\u2026","rel":"nofollow","context":"In \"Bolognese\"","img":{"src":"","width":0,"height":0},"classes":[]},{"id":66,"url":"https:\/\/directelectricalservices.com\/index.php\/2015\/01\/11\/vertical-featured-image-with-disabled-comments\/","url_meta":{"origin":844,"position":1},"title":"Vertical Featured Image with Disabled Comments","date":"January 11, 2015","format":false,"excerpt":"This post should display a\u00a0featured image. Non-square images can provide some unique styling issues. This post showcasesa vertical featured image. Vestibulum fringilla pede sit amet augue. Curabitur ligula sapien, tincidunt non, euismod vitae, posuere imperdiet, leo. Quisque libero metus, condimentum nec, tempor a, commodo mollis, magna. Lorem ipsum dolor sit\u2026","rel":"nofollow","context":"In \"Feature\"","img":{"src":"","width":0,"height":0},"classes":[]},{"id":78,"url":"https:\/\/directelectricalservices.com\/index.php\/2015\/01\/09\/i-dont-have-a-featured-image\/","url_meta":{"origin":844,"position":2},"title":"I Dont Have A Featured Image :(","date":"January 9, 2015","format":false,"excerpt":"Fusce neque. Phasellus volutpat, metus eget egestas mollis, lacus lacus blandit dui, id egestas quam mauris ut lacus. Fusce a quam. Nunc egestas, augue at pellentesque laoreet, felis eros vehicula leo, at malesuada velit leo quis pede. Phasellus a est. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim.\u2026","rel":"nofollow","context":"In \"Dolor Emit\"","img":{"src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/posts\/844"}],"collection":[{"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/comments?post=844"}],"version-history":[{"count":1,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/posts\/844\/revisions"}],"predecessor-version":[{"id":997,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/posts\/844\/revisions\/997"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/media\/775"}],"wp:attachment":[{"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/media?parent=844"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/categories?post=844"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/directelectricalservices.com\/index.php\/wp-json\/wp\/v2\/tags?post=844"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}