I was unable to find any working configuration to export static image into the generated pdf. Dynamic image works like a charm (latex).
TRAC : 0.11.5
To reproduce defect, configure apache and trac according to :
apache config file :
# this is where our html files go, access via https://www-foo.bar.fr
DocumentRoot /export/home/WWW-FOO/HTML-SSL
...
# /export/home/WWW-FOO/TRAC/pldes is wired as https://www-foo.bar.fr/pldes
<Location /pldes>
SetHandler mod_python
PythonInterpreter main_interpreter
SetEnv TRAC_ENV /export/home/WWW-FOO/TRAC/pldes
SetEnv PYTHON_EGG_CACHE /export/home/WWW-FOO/TMP/pldes
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /export/home/WWW-FOO/TRAC/pldes
PythonOption TracUriRoot /pldes
</Location>
# in trac.ini
[wikitopdf]
base_dir = /export/home/WWW-FOO/TRAC/pldes
tmp_dir = /export/home/WWW-FOO/TMP
trac_uri = https://www-foo.bar.fr/pldes/