Anyone else excited about Picturefill? What would be the best way to use it in concrete5?

Permalink
http://scottjehl.github.io/picturefill/

Picturefill 2.0 was recently released and it is the polyfill for the <picture> element and associated features.

Once I realized how sizes and scrset attributes work, I got excited about using it in concrete5 projects.

Has anyone tried this yet? Or any other responsive image system? I imagine that the image helper thumbnailer would have to be used a lot more.

Jaakko
 
PineCreativeLabs replied on at Permalink Reply
PineCreativeLabs
This script has been turned into a Concrete5 addon! Check it out here:

http://www.concrete5.org/marketplace/addons/picturefill-image/...
Jaakko replied on at Permalink Reply
Jaakko
Nice. Thanks for the heads up!

That however seems to be the old picturefill, and not the new 2.0 version. The sizes and srcset combo are critical for me (why? long answer:http://ericportis.com/posts/2014/srcset-sizes/... )

It also requires the user to give the smaller versions which in my opinion should be the CMS's job - unless the user specifically wants a different image for some case.

I'm wondering if concrete5's image helper could be called with an url-parameter.
Like for example <img src="/mysite/files/1414/2142/theoriginal.jpg?max200w&300h"> or something like that?

It might really help making the smaller versions.