Because
image links such as <img src="foo.jpg"/> which results from Office-
Html
conversion doesn't mean anything
on a wiki page.
Right and they should be converted to the following (that's what I was
telling you yesterday):
<p><!--startimage:foo.jpg--><img
src="/xwiki/bin/download/currentdoc/
foo.jpg"/><!--stopimage-->
This will work in XHTML 1.0 syntax.
So, what we do is,
1. Attach foo.jpg into the current document as an attachment.
2. Replace the <img> tag with quivalent wiki syntax to make it work.
An alternative would be to keep the <img> tag as it is and change
the src
attribute to the url of the image attachment.
Yes this is the right way, see above.
Thanks
-Vincent
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________
devs mailing list
devs(a)xwiki.org