21 February 2018Dynamically generating responsive images with Timber’s resize filter and the srcset attribute
Timber has loads of useful filters built in which can make all kinds of jobs much easier. One of those jobs is resizing and cropping images, for which we can use the resize filter. The syntax is simple, as with all things Twig – we simply add the filter to our image source, passing through...
Read more
Development insightssrcsetTimberTwigWordPress