Difference between revisions of "Talk:Pdf-export.php"

From Organic Design wiki
(fully qualified urls)
(thanks, images working now ;-))
Line 2: Line 2:
 
Images aren't working either, the docs say it can load all the normal kinds, and I've added the <tt>--jpeg</tt> option, but images are just blank. --[[User:Nad|Nad]] 08:58, 25 Jan 2007 (NZST)
 
Images aren't working either, the docs say it can load all the normal kinds, and I've added the <tt>--jpeg</tt> option, but images are just blank. --[[User:Nad|Nad]] 08:58, 25 Jan 2007 (NZST)
 
:I've used htmldoc before quite a while ago and I seem to remember something about image embedding. I think you need to provide an absolute (fully qualified) URL or something like that. --[[User:Rob|Rob]] 09:01, 25 Jan 2007 (NZST)
 
:I've used htmldoc before quite a while ago and I seem to remember something about image embedding. I think you need to provide an absolute (fully qualified) URL or something like that. --[[User:Rob|Rob]] 09:01, 25 Jan 2007 (NZST)
 +
::Yip that was the issue :-) images working now - I had to do a regexp to convert the href's to absolute, but of course the images use ''src'' not ''href'' so they were still relative. --[[User:Nad|Nad]] 10:04, 25 Jan 2007 (NZST)
 
= Colour =
 
= Colour =
 
PDF export very good. Can we have colour? --[[User:Rob|Rob]] 08:36, 25 Jan 2007 (NZST)
 
PDF export very good. Can we have colour? --[[User:Rob|Rob]] 08:36, 25 Jan 2007 (NZST)
 
:According to the docs you can, but I've added the <tt>--color</tt> switch, but to no avail - I think it may only work for colours done with html font tags not CSS/style tags. --[[User:Nad|Nad]] 08:39, 25 Jan 2007 (NZST)
 
:According to the docs you can, but I've added the <tt>--color</tt> switch, but to no avail - I think it may only work for colours done with html font tags not CSS/style tags. --[[User:Nad|Nad]] 08:39, 25 Jan 2007 (NZST)

Revision as of 10:04, 25 January 2007

Images

Images aren't working either, the docs say it can load all the normal kinds, and I've added the --jpeg option, but images are just blank. --Nad 08:58, 25 Jan 2007 (NZST)

I've used htmldoc before quite a while ago and I seem to remember something about image embedding. I think you need to provide an absolute (fully qualified) URL or something like that. --Rob 09:01, 25 Jan 2007 (NZST)
Yip that was the issue :-) images working now - I had to do a regexp to convert the href's to absolute, but of course the images use src not href so they were still relative. --Nad 10:04, 25 Jan 2007 (NZST)

Colour

PDF export very good. Can we have colour? --Rob 08:36, 25 Jan 2007 (NZST)

According to the docs you can, but I've added the --color switch, but to no avail - I think it may only work for colours done with html font tags not CSS/style tags. --Nad 08:39, 25 Jan 2007 (NZST)