[prev in list] [next in list] [prev in thread] [next in thread] 

List:       trac
Subject:    Re(2): [Trac] attached files used in wiki markup
From:       quinn () strangecode ! com (Quinn Comendant)
Date:       2005-03-29 3:01:16
Message-ID: 20050329075959.8341 () mail ! pianofun ! com
[Download RAW message or body]

That would work fantastic!

Since the attachments are nested in directories already the format could
be something like [attachment:ticket/944/file.diff] or [attachment:wiki/
ScreenCaptures/login.png].

Q


2005-03-29 9:24 -- Christian Boos ---------------------------

>Quinn Comendant wrote:
>
>>Is it possible to display images uploaded as attachments to wiki pages in
>>  
>>
>>the markup of the wiki page themselves? The URL for accessing an
>>  
>>
>There's a ticket for that: #944 "Add support for simpler references
>
>to attachments in Wiki pages and Ticket wiki", with a patch.
>
>The proposed syntax was:
>
>    *
>
>      img:<the_attachment> to get the attached image displayed inline
>
>    *
>
>      attachment:<the_attachment> to get a link to the attachment
>
>But I think that image:<the_attachment> should work as well.
>
>In addition, I think that Ishould extend that syntax in order to be able
>to refer to attachments from other Trac objects: 
>attachment:<type>:<id>:<file>
>e.g.  attachment:ticket:944:attachment.1073.diff
>
>-- Christian
>
>
>_______________________________________________
>Trac mailing list
>Trac@lists.edgewall.com
>http://lists.edgewall.com/mailman/listinfo/trac


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic