Images with Jekyll Blogs

I’m using Jekyll Picture Tag to try to handle images nicely, and it seems to be working!

First I added

picture:

source: “images/fullsize”

output: “assets/images/generated”

suppress_warnings: true

to my _config.yml

  1. I created an images/fullsize dir in my blog root.

  2. I copied a very random picture into images/fullsize

  3. I inserted {% picture inhaler_how_to.jpg --alt Woman sitting with a cat in her lap, the cat is being given an inhaler %} below

Woman sitting with a cat in her lap, the cat is being given an inhaler

The hardest part was learning to escape the liquid template example code.

Updated: