add handling for relative paths to external resources (e.g. background-image declarations)