Block: Image

Publicado: 3 noviembre, 2018 |

Block: Image

Welcome to image alignment! If you recognize this post, it is because these are blocks that have been converted from the classic Markup: Image Alignment post. 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’s get started. Be sure to try it in RTL mode. Left should stay left and right should stay right for both reading directions.

On the topic of alignment, it should be noted that users can choose from the options of None, Left, Right, and Center. If the theme has added support for align wide, images can also be wide and full width. Be sure to test this page in RTL mode.

In addition, they also get the options of the image dimensions 25%, 50%, 75%, 100% or a set width and height.

Image Alignment 580x300

The image above happens to be centered.

Image Alignment 150x150

The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×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 you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

And now for a massively large image. It also has no alignment.

Image Alignment 1200x400

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.

Image Alignment 300x200

And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

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… Just like that. It never felt so good to be right.

And just when you thought we were done, we’re going to do them all over again with captions!

Image Alignment 580x300
Look at 580×300 getting some caption love.

The image above happens to be centered. The caption also has a link in it, just to see if it does anything funky.

Image Alignment 150x150
Itty-bitty caption.

The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×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 you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thang. Mission accomplished!

And now for a massively large image. It also has no alignment.

Image Alignment 1200x400
Massive image comment for your eyeballs.

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.

Image Alignment 300x200
Feels good to be right all the time.

And now we’re going to shift things to the right align. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there… Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.

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… Just like that. It never felt so good to be right.

Imagine that we would find a use for the extra wide image! This image has the wide width alignment:

Image Alignment 1200x4002

Can we go bigger? This image has the full width alignment:

Image Alignment 1200x4002

And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked! One last thing: The last item in this post’s content is a thumbnail floated right. Make sure any elements after the content are clearing properly.



Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *


Otros artículos de la categoría Block


SMiLE-v6

WP 6.1 Font size scale

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. Small H2 Heading Medium H2 Heading Large H2 Heading Extra Large H2 Heading Small paragraph Medium paragraph Large paragraph Extra Large paragraph


Publicado: 16 enero, 2023

SMiLE-v6

WP 6.1 spacing presets

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. On this page, some group blocks have border or background color set to increase visibility. This group has a no background color and no additional spacing set. This group has a background color but no additional spacing set. This group has a […]


Publicado: 16 enero, 2023

Wind Farm

WP 6.1 Theme block category

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. Navigation block with page list: Site logo: Site title: Tagline block: Query loop «Title & Date» variation: Query loop «Title & Excerpt» variation: Query loop «Title, Date & Excerpt» variation: Query loop «Image, Date & Title» variation: Avatar block: Post title block: […]


Publicado: 13 enero, 2023

SMiLE-v6

WP 6.1 Widgets block category

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. Archives block: Categories list: Custom HTML: test Latest comments: Latest posts: Page list block: RSS block: Shortcode block: Social links: Tag cloud:


Publicado: 13 enero, 2023

SMiLE-v6

WP 6.1 Design category blocks

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. One single column inside a columns block. Column one. The background color is on the single column. Column two Column one. The background color is on the parent columns block. Column two Column three Group with paragraph inside. Below are the group […]


Publicado: 13 enero, 2023

SMiLE-v6

WP 6.1 Media category blocks

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. Image block: Gallery: Audio: Cover: This is the Media & Text block with an image on the left. This is the Media & Text block with a cropped image on the left This is the Media & Text block with a video […]


Publicado: 13 enero, 2023

SMiLE-v6

WP 6.1 Text category blocks

This test post was generated using the block theme Emptytheme in WordPress 6.1.1. Paragraph H1 Heading H2 Heading H3 Heading H4 Heading H5 Heading H6 Heading Quote block citation classic block Preformatted block Pull quote Citation table cell table cell two table cell three table cell four Table caption header label one header label two […]


Publicado: 13 enero, 2023

SMiLE-v6

Block: Button

Button blocks are not semantically buttons, but links inside a styled div.  If you do not add a link, a link tag without an anchor will be used. Check to make sure that the text wraps correctly when the button has more than one line of text, and when it is extra long. Buttons have […]


Publicado: 3 noviembre, 2018

SMiLE-v6

Block: Cover

The cover block lets you add text on top of images or videos. This blocktype has several alignment options, and you can also align or center the text inside the block. The background image can be fixed and you can change its opacity and add an overlay color. Make sure that the text wraps correctly […]


Publicado: 3 noviembre, 2018

Boat Barco Texture

Block: Gallery

Gallery blocks have two settings: the number of columns, and whether or not images should be cropped. The default number of columns is three, and the maximum number of columns is eight. Below is a three column gallery at full width, with cropped images. Some more text for taking up space. A two column gallery, […]


Publicado: 3 noviembre, 2018

SMiLE-v6

Block: Columns

This page tests how the theme displays the columns block. The first block tests a two column block with paragraphs. This is the second column. It should align next to the first column. Reduce the browser window width to test the responsiveness. This is the second column block. It has 3 columns. Paragraph 2 is […]


Publicado: 2 noviembre, 2018

SMiLE-v6

Block: Quote

The quote block has two styles, regular: Gutenberg is more than an editor. The Gutenberg Team and large: Yes, it is a press, certainly, but a press from which shall flow in inexhaustible streams, the most abundant and most marvelous liquor that has ever flowed to relieve the thirst of men! Johannes Gutenberg The quote blocks […]


Publicado: 1 noviembre, 2018