Jekyll Responsive Magick

A Jekyll plugin for responsive images using ImageMagick. Works with Jekyll 4.

GitHub RubyGem

Jekyll Responsive Magick (jekyll-responsive-magick) is a Jekyll plugin for responsive images. It adds filters for setting the srcset, width and height attributes of HTML img elements, while automatically generating image variants of configured sizes using the ImageMagick command-line tools. Resized images are cached to minimize build times, regenerated only when the original source image changes.

The plugin has no dependencies besides the ImageMagick command line tools. This is by design, to make it easy to deploy on services such as Cloudflare Pages.

Find it on GitHub or read more about the motivation and implementation in the blog post.

blog Related?
Responsive Images with Jekyll and ImageMagick

Step by step through the HTML, ImageMagick and Ruby. Works with Jekyll 4.

Lawrence Murray

30 Oct 22

blog Related?
GPU Programming in the Cloud

A how-to and round-up of cloud service providers.

Lawrence Murray

22 Nov 22

blog Next
Matrix Gradients of Scalar Functions

Understanding the building blocks of reverse-mode automatic differentiation.

Lawrence Murray

7 Nov 22

blog Previous
Admonitions in Markdown

Working or failing gracefully across Apostrophe, Kramdown, and Jekyll. No plugins required.

Lawrence Murray

2 Nov 22