Add an option to support including background image when generate CSS file
self-adapt preview panel height, may fail