Use relative paths for ref images and copy refs.
Merge pull request #2940 from brendandahl/ref-fixes

Use relative paths for ref images and copy refs.