[xwiki-users] Displaying an image on several pages

Vincent Massol vincent at massol.net
Mon May 7 19:29:35 CEST 2007


Hi Antonio,

On May 3, 2007, at 11:20 AM, Antonio Goncalves wrote:

> Hi,
>
> I think I'm missing something here. To display an image on a page  
> it's pretty simple : you attach it to a page, and use the {image}  
> macro to display it. Good. What if I want to display the same image  
> in 2 or 3 different pages ? I can't do the same because if the  
> image is attached to page1 it will not be usable on page2. How can  
> I upload a image (or a file) that could be visible to all the wiki ?

Why don't you reference the same attachment from different pages?

See http://www.xwiki.org/xwiki/bin/view/Code/ImageMacro

Hint: check the document attribute :)

-Vincent

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xwiki.org/pipermail/users/attachments/20070507/50b353a2/attachment-0001.html 


More information about the users mailing list