Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 805 Bytes

2010-08-05-post-image-standard.md

File metadata and controls

30 lines (22 loc) · 805 Bytes
title categories tags
Post: Image (Standard)
Post Formats
image
Post Formats

The preferred way of using images is placing them in the /images/ directory and referencing them with an absolute path. Prepending the filename with {% raw %}{{ site.url }}{{ site.baseurl }}/images/{% endraw %} will make sure your images display properly in feeds and such.

![Unsplash image 9]({{ site.url }}{{ site.baseurl }}/images/unsplash-image-9.jpg)

Image that fills page content container by adding the .full class with:

HTML:

<img src="/images/filename.jpg" alt="" class="full">

or Kramdown:

{% raw %}![alt](/images/filename.jpg)
{: .full}{% endraw %}

![Unsplash image 10]({{ site.url }}{{ site.baseurl }}/images/unsplash-image-10.jpg) {: .full}