complete implementation of --css-inline-image flag