On Nov 20, 2007, at 9:55 AM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Vincent Massol wrote:
Yes, see http://www.xwiki.org/xwiki/bin/view/Code/ImageMacro
-Vincent
Thanks, Vincent. I'd misread the link= option. Sorry about that.
Could it be possible to open it in a new window? Some times the linked image is a heavy file and the document by itself is also plenty of groovy code generating tables on the fly. By opening the image in a new window we could avoid to interrupt the reading of the main file and have to hit the back button to go back to it.
I'm guessing this could be a new feature to add to this nice macro image :-)
yes. What you can do right now is simply build the following: <a href="..." target="_blank"><img src="..."/></a> where you replace ... by velocity code. hint: $xwiki.getAttachmentURL("attachment name") -Vincent