On Jan 22, 8:54 pm, moffit <[email protected]> wrote: > Guys, > > The Image macro does not seem to be able to find a file attached to > the topic. I've tried every possible combination to try to get this > to work. Imagine that you want to embed an image that you have > attached to the topic in one of your comments: > > Attached Image URL, when viewing the attachment > directly:http://cassdev:9000/trac/attachment/discussion/topic/1/RTB.png > > With the Image Macro, you would imagine: > > [[Image(RTB.png)]] > OR > [[Image(wiki:discussion/topic/1:RTB.png)]] > etc... > > What is the proper syntax for referring to the image within a topic or > comment?
The discussion plugin supplies its own link resolvers, and they are of forum:, topic:, and message: syntax for the various entities. This is actually documented as part of the 'Macros' section on the plugin home page: http://trac-hacks.org/wiki/DiscussionPlugin#Macros :::simon https://www.coderesort.com http://www.ohloh.net/accounts/osimons -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
