whackashoe / antimoderate

The progressive image loading library for great good!
1.51k stars 108 forks source link

img srcset support (question) #9

Open richardtape opened 8 years ago

richardtape commented 8 years ago

Hi.

This is awesome. Thanks so much for putting this together.

Does it support the srcset attribute of the img tag? The reason I ask is I'm putting together a WordPress plugin for this library and WP automagically creates a srcset list when you upload an image.

whackashoe commented 8 years ago

Thanks :+1:

This does not, currently only supports src. It should be relatively easy to patch that in though, might require a bit of api change (maybe we can just use a wrapper function for different features like this?) Perhaps I should open an issue for it.

Really excited to see this plugin you are working on, shoot me a message with it I'll put it in the readme here :racehorse: