All Collections
PDF Troubleshooting
Troublingshooting Issues
Image, CSS or JavaScript file not loading?
Image, CSS or JavaScript file not loading?
James Paden avatar
Written by James Paden
Updated over a week ago

DocRaptor has to know where on the internet to find all of your external assets. That means you must do one of the following:

  1. Use an absolute URL (begins in http:// or https://)

  2. Use the prince_options[baseurl] API parameter to inform us which URL to use to create absolute URLs on your behalf

  3. 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.

Did this answer your question?