converted background image from a path to a data uri