Big Jekyll Picture Tag update incoming!

Hey all,

I’ve been working on a big update to Jekyll Picture Tag. It started out as a refactor, but it pretty quickly turned into a ground-up rewrite.

The configuration process should be easier, compatibility with old liquid tags is maintained, and you can now supply multiple image formats. Markup formats have been cut back to only stock HTML (both <picture> and <img>), but adding new formats for various javascript libraries should be easier with the new architecture.

It’s ready to merge into master yet; I’d like to do more testing and improve the documentation further. You can see the new update on the refactor branch. I’ve documented the changes, their motivations, and how to migrate from older versions under migration.md in the root directory. The readme file is mostly up to date in that branch as well.

If you’d like to test drive it, check out a new branch and put the following in your gemfile:

group :jekyll_plugins do
  gem 'jekyll-picture-tag', git: 'https://github.com/robwierzbowski/jekyll-picture-tag', branch: 'refactor'
end

I’d love some feedback and help testing it, especially on existing sites using the previous version. Try and update, tell me what the pain points are. Cryptic error messages? Undesired behavior?

Thanks!
-Robert

2 Likes

Hey man I am not sure if this is the right place to put this comment but yeah. I have followed your installation on your site for the jekyll_picture_tag plugin. In order to use this we also need ImageMagic so I installed it too. However when trying to generate a png or jpg image to different source sets I get this error saying I there is not delegate for png (also tried with jpg and same result). Also the error in the console talks about mini Magic 4-10.1 ?? pls help been on this for hours already

       /home/timothy/.rbenv/versions/2.7.1/lib/ruby/gems/2.7.0/gems/
        mini_magick-4.10.1/lib/mini_magick/image.rb:130:in `tap
identify: no decode delegate for this image format `JPG' @ error/constitute.c/