solve pdf images/css relative path problem