Hi Simon, I didn't take that route because the discussion docs appeared to only relate to linking to a particular topic/reply. I'm somewhat new to to the Trac world, but I think what you're saying is that I should use a syntax in the image macro similar to this? --> Image(topic:1/RTB.png)
Thanks Would the macro to an embedded image look On Sat, Jan 23, 2010 at 4:50 AM, osimons <[email protected]> wrote: > 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]<trac-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/trac-users?hl=en. > > -- 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.
