Dan Miron wrote:
Hi,
Regarding the
http://jira.xwiki.org/jira/browse/XWIKI-2964 issue, this
is how I see it:
- Grabbing the icons from the silk iconset
- Creating a macro called 'icon' with the following parameters:
- fileName (required) the name of the file which holds the
icon; here I see two possible approaches:
- with (optional)
- height (optional)
An example of usage would be the following:
{{icon fileName="arrow_out.gif" with="20" height="20" /}}
WDYT?
Would it be any difference between this macro and the image markup
([[image:reference]] or image:reference), besides the way the image file
resolution (image: looks it up as an attachment whereas the {{icon}} macro would
getit from the silk icon set) ?
Any way we could make these icons accessible as image: references instead of
building a whole new macro for it, for syntax simplicity?
Happy coding,
Anca Luca
Tnx, Dan
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs