convert body bg to data:uri