From: Chris G. <cl...@is...> - 2017-01-23 17:50:51
|
On Mon, Jan 23, 2017 at 04:02:59PM +0000, Roberto Alsina wrote: > If you are going to use relative URLs, they need to be relative to > where the HTML page resides, not to where the rst text is. > So, if your page ends at [1]http://foo.bar/boo/this.html with a > relative URL to the image of "DSCF6584.JPG" then the image better be > available at [2]http://foo/bar/boo/DSCF6584.JPG or it will not work. > Unfortunately my HTML doesn't reside anywhere, it's generated by rst2html and eaten by a PHP script. That's what I meant by it being generated 'dynamically'. I think basically there's no practical way to use relative URIs in my situation, they'll have to be absolute. -- Chris Green |