You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jspwiki.apache.org by Dirk Frederickx <di...@gmail.com> on 2010/03/07 13:22:59 UTC

Inline images nok

Mail snippet:  "
> The handling of inline images/attachments seem not to function properly, but
> probably I need to adjust links to jcr/priha ?
>   <img> is not generated when just specifying the attachment name
> [attach.png]
>   <img> is generated when specfiying [page/attach.png]  but the rendered
> link ".../attach/attach.png"  is not working.
> ???

Dirk -- give me a quick step-by-step to reproduce this, and I will
take a look at it.
"


1)
Attach the image 'gregoire.jpg' to TestPage.

2)
Add following markup to TestPage.

[gregoire.jpg]

[TestPage/gregoire.jpg]

[main:TestPage/gregoire.jpg]


3)
This is rendered as follows:

<p><a class="createpage" href="/JSPWiki-3/Edit.jsp?page=Gregoire.jpg"
title="Create &quot;Gregoire.jpg&quot;">gregoire.jpg</a>
</p>
<p><img class="inline" src="/JSPWiki-3/attach/TestPage/gregoire.jpg"
alt="TestPage/gregoire.jpg" />
</p>
<p><span class="error">No InterWiki reference defined in properties
for Wiki called "main"!</span>
</p>


dirk