On Jan 6, 2011, at 11:09 AM, Vincent Massol wrote:

> Hi Andreas,
> 
> On Jan 6, 2011, at 10:59 AM, Andreas Hahn wrote:
> 
>> Seems I haven't yet understood all the nuances of XWiki syntax:
>> 
>> According to http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax
>> 
>> I can have a sized image with [[image:img.png||width="25" height="25"]]
>> I can have an image with a link [[image:img.png>>http://xwiki.org]]
>> 
>> How can I have a sized image with a link ?
>> not working:
>> [[image:img.png||width="25" height="25">>http://xwiki.org]]
> 
> not correct
> 
>> [[image:img.png>>http://xwiki.org||width="25" height="25"]]
> 
> not correct either
> 
> You need:
> 
> [[[[image:img.png||width="25" height="25"]]>>http://xwiki.org]]

What you need to understand is that you have wiki syntax inside a link label

In [[linklabelhere>>reference]], linklabelhere is wiki syntax.

The wiki syntax to specify an image with params is [[image:...||params]].

Please let us know how to fix the doc to make it more obvious.

Thanks
-Vincent

> Hope it helps,
> -Vincent
> 
>> 
>> not working either (with and without 'px'):
>> (% style="height:25px;width:25px" %)
>> [[image:img.png>>http://xwiki.org]]
>> 
>> and
>> (% style="height:25px;width:25px"
>> [[image:img.png>>http://xwiki.org]]
>> %)
>> 
>> Hmmm... Once again I may not see the obvious ...
>> How can I do it ?
>> 
>> Thanks
>> 
>> Andreas

_______________________________________________
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to