Skip to main content
All CollectionsPDF TroubleshootingTroublingshooting Issues
Image, CSS or JavaScript file not loading?
Image, CSS or JavaScript file not loading?
Jonathon Fruchte avatar
Written by Jonathon Fruchte
Updated over 3 years 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?