Hello Richard,

> But currently the images are not copied.
It does copy it on my machine, so there must be a tiny bug somewhere.

> I think the issue is that the media manager knows the fileref value,
> but not where the relative source is.

> It seems that the line in postConstruct ...
> $this->mediamanager->relative_path =
> basename($this->mediamanager->output_dir) . '/';
> is not right.
> I think this should be something like ...
> $this->mediamanager->relative_path = $OPTIONS["xml_root"] . '/';

No. The relative path in mediamanager is a prefix for images that get
linked in the generated html files. The prefix is theme-specific, e.g.
images/ for a php or chunkedhtml build, or $outputfilename-data/images
for bightml builds.

The code you mentioned in PhDThemeXhtml makes this happen for bightml
files. I'll have a look into it why it does not work for you; it does
for me. One difference could be that I do it in the phpdoc/pear-doc
working directory, and you perhaps in phd's.

-- 
Regards/Mit freundlichen Grüßen
Christian Weiske

-= Geeking around in the name of science since 1982 =-

Attachment: signature.asc
Description: PGP signature

Reply via email to