generate automatically a background image and a background css