add mode: 'element' to your images config.

as long as your container is resizing along with your device size, the image inside that container (if also bound to the size of it's parent) will...