Check the 'context' parameter of the include macro (
http://extensions.xwiki.org/xwiki/bin/view/Extension/Include+Macro )
and the display macro
http://extensions.xwiki.org/xwiki/bin/view/Extension/Display+Macro .
Hope this helps,
Marius
On Tue, Apr 8, 2014 at 7:02 PM, Justin Subert
<justin.subert(a)dynamiciq.com> wrote:
It looks like image URLs are broken when an XWiki page
that has inline
attached images is included in another page.
E.g.
https://xwiki1/xwiki/bin/view/Docs/ParentPage:
{{include reference="SubPage"/}}
https://xwiki1/xwiki/bin/view/Docs/SubPage:
[[image:1.png]]
When
https://xwiki1/xwiki/bin/view/Docs/ParentPage is displayed is shows
the broken image icon, with the URL
https://xwiki1/xwiki/bin/view/Docs/ParentPage/1.png, rather than
https://xwiki1/xwiki/bin/view/Docs/SubPage/1.png.
Is there a better way of doing this?
Thanks,
Justin
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users