Hugo 0.32 and srcset

First I’d like to thank @bep and the others for this (again) great Hugo release. Very much appreciated.

My current workflow is to generate images of different sizes with Gulp and call them with a srcset-Partial for the different screen resolutions. The images are all stored in static/images. This works very well.

Now I consider how to bring that in conjunction with the new bundle feature. Does it mean that I don’t have to generate different image sizes with Gulp anymore because Hugo can do that now?

I’d be interested how you deal with this.

Yes you don’t need Gulp anymore since Hugo 0.32+ is bundled with the Disintegration Go ImageProcessing package. The only caveat is that you need to restructure your content in Page Bundles because Image Processing only works with images alongside content files.

I haven’t had the time to construct a srcet partial yet, but it shouldn’t be too hard.

This is damn cool. Tnx for the quick reply. I’ll find out how to construct a srcset and will post it here.