Updated GIF tag plugin for Jekyll

I posted a quick update to my GIFTag Jekyll plugin. The plugin allows Jekyll to display a clickable poster image for animated gifs without forcing the user to download it on page load. The updated version no longer requires an external play image, instead generating the overlay using CSS only.

It also reads in the file size of the GIF and includes it as a note in the overlay:

The code in the JekyllPlugins repository has been updated, and the new CSS is included in the README. It’s in Sass (SCSS) format, and requires Compass. If you need the CSS output instead, let me know and I’ll update it.

Brett Terpstra

Brett is a writer and developer living in Minnesota, USA. You can follow him as ttscoff on Twitter, GitHub, and Mastodon. Keep up with this blog by subscribing in your favorite news reader.

This content is supported by readers like you.

Join the conversation