brought over https://github.com/ResponsiveImagesCG/ri-usecases/pull/27
fixed merge conflict