DocRaptor has to know where on the internet to find all of your external assets. That means you must do one of the following:
Use an absolute URL (begins in
http://
orhttps://
)Use the prince_options[baseurl] API parameter to inform us which URL to use to create absolute URLs on your behalf
Use a
<base>
tag in your document<head>
, which will also inform us which URL to use to create absolute URLs on your behalf
If you're working on a local development machine, we have some additional tips on how to test your DocRaptor setup while on localhost.