adds optimzed background image data-url, closes issue #27