Image doesn't display

91 views
Skip to first unread message

arantius

unread,
Dec 11, 2006, 1:55:45 PM12/11/06
to Trac Users
The page located here:
http://trac.arantius.com/wiki/Projects/Resurrect

Contains this wiki code:

[[Image(screenshot.png)]] [[BR]]
The dialog embedded in the "Net Error" page.

[[Image(screenshot.2.png)]] [[BR]]
The pop-up dialog.

Which produces this HTML:

<p>
<a style="padding:0; border:none"
href="/attachment/wiki/Projects/Resurrect/screenshot.png"></a> <br />
The dialog embedded in the "Net Error" page.
</p>
<p>

<a style="padding:0; border:none"
href="/attachment/wiki/Projects/Resurrect/screenshot.2.png"><img
src="/attachment/wiki/Projects/Resurrect/screenshot.2.png?format=raw"
alt="Screenshot of Resurrect's pup-up dialog" title="Screenshot of
Resurrect's pup-up dialog" /></a> <br />
The pop-up dialog.
</p>

Why isn't the first image shown? The attachment is there, and visible.

Marc-Antoine Zizka

unread,
Dec 12, 2006, 3:22:48 PM12/12/06
to trac-...@googlegroups.com
> From: arantius [mailto:aran...@gmail.com]

>
> The page located here:
> http://trac.arantius.com/wiki/Projects/Resurrect
>
> Contains this wiki code:
>
> [[Image(screenshot.png)]] [[BR]]
> The dialog embedded in the "Net Error" page.
>
> [[Image(screenshot.2.png)]] [[BR]]
> The pop-up dialog.
[...]

> Why isn't the first image shown? The attachment is there, and visible.

It seems the macro does not escape the double quotes in the file's
description, and the entire image tag ends up being sanitized away as a
result. Try removing the quotes from the file description. If that works,
you might want to create a ticket on trac.edgewall.org.

Anthony Lieuallen

unread,
Dec 12, 2006, 9:50:13 PM12/12/06
to trac-...@googlegroups.com
On 12/12/2006 3:22 PM, Marc-Antoine Zizka wrote:
> It seems the macro does not escape the double quotes in the file's
> description, and the entire image tag ends up being sanitized away as a
> result. Try removing the quotes from the file description. If that works,
> you might want to create a ticket on trac.edgewall.org.

That was it! Thank you.

Reply all
Reply to author
Forward
0 new messages