[xwiki-users] Inserting the image between macro
Hi , How can insert the image between the macro. For example i want to display the image on the page just after login.e https://loaclhost/myWiki/bin/view/Main/WebHome. The location i want to display is along the side of welcome message. But as i click WYSIWYG. i see the velocity macro, and i click image-->attachedImage but it does not insert the image anywhere. Is it possible to insert the image at any intended position because content is generated at run time. Looking for from both editors i.e WYSIWYG and wiki editor I know the way to insert the image on newly created page, But what about to insert the existing page using macros.
I'm not sure I understood well your problem, but no, you can't insert an image into content that is dynamically generated, not directly. If you want to insert your image, you have to edit the macro content or code that generates this dynamic data, if it is possible of course. For example it would not be possible to insert an image inside text that comes from a Translation bundle property : you can only put it before or after, or update the Translation bundle property ... If you want to put an image aside some other content, you can use {{section}}{{column}}..{{/column}}{{/section}} to define a section with columns. -- View this message in context: http://xwiki.475771.n2.nabble.com/Inserting-the-image-between-macro-tp750525... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Fri, Apr 27, 2012 at 10:50 AM, mohit gupta <[email protected]> wrote:
Hi ,
How can insert the image between the macro. For example i want to display the image on the page just after login.e https://loaclhost/myWiki/bin/view/Main/WebHome. The location i want to display is along the side of welcome message. But as i click WYSIWYG. i see the velocity macro, and i click image-->attachedImage but it does not insert the image anywhere. Is it possible to insert the image at any intended position because content is generated at run time. Looking for from both editors i.e WYSIWYG and wiki editor
The home page is a dashboard by default so you should edit the dashboard (Dashboard.WebHome). Hope this helps, Marius
I know the way to insert the image on newly created page, But what about to insert the existing page using macros. _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
jerem -
Marius Dumitru Florea -
mohit gupta