Check the docs[1], they're pretty clear on the various arguments to the Image macro, though I haven't used the source or htdocs types myself.
Doug
[1] http://trac.edgewall.org/wiki/WikiMacros (you'll have to scroll down to the [[Image]] entry)
On 8/8/06, Robert S. Grimes <
[EMAIL PROTECTED]> wrote:
Hi,
Trying to get the Image macro to work on Trac 0.9. My code on my page
(MyPageName) is like this:
[[Image(myimage.png)]]
I get:
*Error: Macro Image(myimage.png) failed*
Attachment MyPageName: myimage.png does not exist.
The log gives a Python traceback and a message that, again, myimage.png
does not exist. Well, of course, it does exist, but I suppose not in
the correct location. My simple question is this - where is trac
looking for this file? I can't figure out what it is using for the
path. My trac.ini file did not have an entry for htdocs_location; when
I tried adding one, I really screwed things up. I'm not sure whether
the htdocs_location should be given an absolute filesystem path; I'd
rather use relative, but again, I'm not sure what it is relative to!
Probably all I need is to know how to determine where it is looking for
the files...
Thanks!
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
