Hi Marc,

thank you for your response.
I solved the problem through copying the file everywhere.png to
"/usr/local/lib/python2.7/dist-packages/Trac-0.12.2-py2.7.egg/trac/
htdocs" (in my case).
Now I was able to link like this: "[[Image(/chrome/common/
everywhere.png)]]".
Thanks again!

Sincerly yours
bejot22

On 29 Nov., 16:33, "Cooke, Mark" <[email protected]> wrote:
> > -----Original Message-----
> > From: [email protected] On Behalf Of bejot22
> > Sent: 29 November 2011 15:13
> > To: Trac Users
> > Subject: [Trac] Global Trac-Wiki Images
>
> > Hello again,
>
> > I am looking for a solution to show a specific image on almost every
> > wiki-page.
> > To do this I just want do add something like [[Image(everywhere.png)]]
> > to the wiki-pages.
> > But unfortunately this does not work.
>
> ...my trac's copy of WikiMacros says:-
>
> The first argument is the file specification. The file specification may 
> reference attachments in three ways:
> module:id:file, where module can be either wiki or ticket, to refer to the 
> attachment named file of the specified wiki page or ticket.
> id:file: same as above, but id is either a ticket shorthand or a Wiki page 
> name.
> file to refer to a local attachment named 'file'. This only works from within 
> that wiki page or a ticket.
>
> ...so I am guessing what you probably need is something like:
> {{{
>         [[Image(wiki:MyWikiPage:everywhere.png)]]
>
> }}}
>
> ~ mark c
>
>
>
> > It is not possible to define globally available images.
> > To solve this problem I created a Ticket with all images.
> > Then I added to the following string to the specific wiki-pages:
> > [[Image(/raw-attachment/ticket/546/everywhere.png)]]
> > Is there a possibility to make my "everywhere.png" globally available
> > so I do not need to specify a path?
>
> > Thank you in advance!
> > bejot22- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

-- 
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.

Reply via email to