Add images to repo and reference them in post
This commit is contained in:
parent
98ada1b98e
commit
817d2bb71b
5 changed files with 8 additions and 8 deletions
|
@ -13,21 +13,21 @@ tags:
|
|||
|
||||
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's get started.
|
||||
|
||||
![image-center](http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-580x300.jpg){: .align-center}
|
||||
![image-center]({{ site.url }}{{ site.baseurl }}/images/image-alignment-580x300.jpg){: .align-center}
|
||||
|
||||
The image above happens to be **centered**.
|
||||
|
||||
![image-left](http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-150x150.jpg){: .align-left} The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is **left aligned**.
|
||||
![image-left]({{ site.url }}{{ site.baseurl }}/images/image-alignment-150x150.jpg){: .align-left} 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 thing. Mission accomplished!
|
||||
|
||||
And now for a **massively large image**. It also has **no alignment**.
|
||||
|
||||
![no-alignment](http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-1200x4002.jpg)
|
||||
![no-alignment]({{ site.url }}{{ site.baseurl }}/images/image-alignment-1200x4002.jpg)
|
||||
|
||||
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-right](http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-300x200.jpg){: .align-right}
|
||||
![image-right]({{ site.url }}{{ site.baseurl }}/images/image-alignment-300x200.jpg){: .align-right}
|
||||
|
||||
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.
|
||||
|
||||
|
@ -36,14 +36,14 @@ In just a bit here, you should see the text start to wrap below the right aligne
|
|||
And just when you thought we were done, we're going to do them all over again with captions!
|
||||
|
||||
<figure class="align-center">
|
||||
<img src="http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-580x300.jpg" alt="">
|
||||
<img src="{{ site.url }}{{ site.baseurl }}/images/image-alignment-580x300.jpg" alt="">
|
||||
<figcaption>Look at 580 x 300 getting some love.</figcaption>
|
||||
</figure>
|
||||
|
||||
The figure above happens to be **centered**. The caption also has a link in it, just to see if it does anything funky.
|
||||
|
||||
<figure style="width: 150px" class="align-left">
|
||||
<img src="http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-150x150.jpg" alt="">
|
||||
<img src="{{ site.url }}{{ site.baseurl }}/images/image-alignment-150x150.jpg" alt="">
|
||||
<figcaption>Itty-bitty caption.</figcaption>
|
||||
</figure>
|
||||
|
||||
|
@ -54,14 +54,14 @@ As you can see the should be some space above, below, and to the right of the im
|
|||
And now for a **massively large image**. It also has **no alignment**.
|
||||
|
||||
<figure style="width: 1200px">
|
||||
<img src="http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-1200x4002.jpg" alt="">
|
||||
<img src="{{ site.url }}{{ site.baseurl }}/images/image-alignment-1200x4002.jpg" alt="">
|
||||
<figcaption>Massive image comment for your eyeballs.</figcaption>
|
||||
</figure>
|
||||
|
||||
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.
|
||||
|
||||
<figure style="width: 300px" class="align-right">
|
||||
<img src="http://wpthemetestdata.files.wordpress.com/2013/03/image-alignment-300x200.jpg" alt="">
|
||||
<img src="{{ site.url }}{{ site.baseurl }}/images/image-alignment-300x200.jpg" alt="">
|
||||
<figcaption>Feels good to be right all the time.</figcaption>
|
||||
</figure>
|
||||
|
||||
|
|
BIN
images/image-alignment-1200x4002.jpg
Normal file
BIN
images/image-alignment-1200x4002.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 35 KiB |
BIN
images/image-alignment-150x150.jpg
Normal file
BIN
images/image-alignment-150x150.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
images/image-alignment-300x200.jpg
Normal file
BIN
images/image-alignment-300x200.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.3 KiB |
BIN
images/image-alignment-580x300.jpg
Normal file
BIN
images/image-alignment-580x300.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
Loading…
Reference in a new issue