diff --git a/README.md b/README.md index b17db5a..8bd45ee 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ You can use Liquid variables as attributes with the `responsive_image_block` tag You will need to create a template in order to use the `responsive_image` tag. Below are some sample templates to get you started. -#### Basic image tag with `srcset` +#### Responsive images with `srcset` ```twig ``` +#### Responsive images with `` + +```twig + + {% for i in resized %} + + {% endfor %} + + +``` + #### Responsive images using [Imager.js](https://github.com/BBC-News/Imager.js/) > This template assumes an `output_path_format` of `assets/resized/%{width}/%{basename}`