Jekyll and Images

11 May 2014

Like many people, I enjoy taking photos and selecting the best ones to put out on the web.

There are numerous public sites for doing this, such as http://www.flickr.com and http://www.deviantart.com.

However, having my own website means that I can display they myself, allowing full customisation of the layout. This creates a problem - as I am writing this website using jekyll. What does this tool offer for images and galleries?

Pictures

A Jekyllpulin called the Jekyll Picture Tag tries to simplify the use of images. Which is great - except after a lot of trying I couldn't get it to display anything!

However, I had more success with the Jekyll Image Tag. You use this by using the relatively simple notation:

  
    {% image default myImage.jpg %}
  

which produces: