Image Cover Field Formatter
Use this module if you want to embed an image with an inline style instead of an img
tag.
Output code looks like this:
<div class="image cover" style="background-image: url(http://example.com/sites/default/files/styles/medium/public/example.jpg?itok=0gJ4PttE)"></div>