[xwiki-users] linking an image thumbnail to the original file
Hi, Please, is there any XWiki syntax trick to link a picture's thumbnail with the original file like in... ? http://www.xwiki.org/xwiki/bin/view/Code/XEclipseExtension Thanks! -- Ricardo Rodríguez Your XEN ICT Team
Yes, see http://www.xwiki.org/xwiki/bin/view/Code/ImageMacro -Vincent On Nov 20, 2007, at 12:41 AM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Hi,
Please, is there any XWiki syntax trick to link a picture's thumbnail with the original file like in... ?
http://www.xwiki.org/xwiki/bin/view/Code/XEclipseExtension
Thanks!
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 :-) Cheers, -- Ricardo Rodríguez Your XEN ICT Team
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
Vincent Massol wrote:
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
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Thanks, Vincent. The possibility of combining Velocity, Groovy, Java, JavaScript, HTML, XWiki code and macros,... is extremely powerful. I've shown some simple pages to some people here and they are impressed. Cheers, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Vincent Massol wrote:
Yes, see http://www.xwiki.org/xwiki/bin/view/Code/ImageMacro
-Vincent
Hi, Don't you think it could be useful to include this link in the Images entry of the XWiki syntax help panel? Cheers, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
On Nov 20, 2007, at 1:03 PM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Vincent Massol wrote:
Yes, see http://www.xwiki.org/xwiki/bin/view/Code/ImageMacro
-Vincent
Hi,
Don't you think it could be useful to include this link in the Images entry of the XWiki syntax help panel?
I'd like to find a way to have the help in sync with the official syntax guide at http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax I think there's a jira issue for this already. If you have any idea... Thanks -Vincent
Vincent Massol wrote:
I'd like to find a way to have the help in sync with the official syntax guide at http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax
I think there's a jira issue for this already.
If you have any idea...
Thanks -Vincent
Hi Vincent, Sorry for the delay. Let me see if I've well understood what do you would like. A standard XWiki Enterprise installation doesn't include any help file but a link to http://www.xwiki.org/xwiki/bin/view/Main/Documentation in the top button bar. The default set of XWiki pages in the *.xar includes a Panels.SyntaxHelp document that is displayed while editing. This same panel includes a link to what you call the "official syntax guide" at http://www.xwiki.org/xwiki/bin/view/UserGuide/XWikiSyntax. In some installations I also found a Panels.XWikiSyntax what I am guessing is a deprecated version of the official syntax guide, isn't it? The point will be to find how to synchronize the contents of Panels.SyntaxHelp with the official syntax guide. Is it the objective? BTW, I don't find any JIRA XE open issue relate with help. I found at least two XWIKI related: http://jira.xwiki.org/jira/browse/XWIKI-206 http://jira.xwiki.org/jira/browse/XWIKI-1500 As XWIKI-206 (add support for live syntax helpers) I think is far beyond the scope of the present discussion, I think that only to follow XWIKI-1500 could make sense here. Couldn't it? Please, accept my apologies if I saying some stupid thing, but I am still trying to understand how JIRA, the mailing lists and the builds integrate the development system. Thanks for your patience. All the best, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
participants (2)
-
Vincent Massol -
Your XEN ICT Team - Ricardo Rodriguez