Vincent Massol wrote:
> Hi,
> 
> This has been slightly discussed in other thread but not clearly so  
> here's the clear proposal I'd like to implement:
> 
> 1) Linking to an attachment:
> 
> [[label>attachment:my.doc]] or simply [[attachment:my.doc]]
> 
> 2) Image link:
> 
> [[label>reference>image=my.png]] or simply [[reference>image=my.png]]
> 
> 3) Linking to an attachment with an image displayed:
> 
> [[label>attachment:my.doc>image=my.png]]
> 
> Note 1: In 2) and 3) the label is only used in the HTML "alt" and  
> "title" attributes since the link is on an image.
> 
> Note 2: The value for attachment:xxx is an attachment name (as in  
> my.doc) or the qualified name of an attachment. I'm proposing  
> "wiki:space.page^attachment" for now.
> Note 3: The value for image can be: a full URL, an image attachment  
> name (as in my.png) or the qualified name of the image as in:  
> "wiki:space.page^imagename" (same as above).
> 
> WDYT?

'^' symbol in "wiki:space.page^imagename" is unnatural. Can we use '/' 
instead?:
"wiki:space.page/imagename" ?

+1 for others.

-- 
   Artem Melentyev
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to