mslinn / jekyll_img

This versatile plugin embeds responsive images using the <picture/> element in documents and pages with alignment options, flexible resizing, default styling, overridable styling, an optional caption, and an optional URL.

Home Page:https://www.mslinn.com/jekyll_plugins/jekyll_img.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Omit the mandatory webp file type

mslinn opened this issue · comments

Hived from #4.

There is currently no use case for specifying file types apart from webp, so the plugin could be enhanced to support the omission of the file type. For example:

{% img src="blah" %}

Would be equivalent to:

{% img src="blah.webp" %}