[ewiki] Re: image-markup bug?

> [greatpicture.gif] - display alligned left, width=70%. Works.

This is means UNALIGNED, what browsers usually would show like they would
ALIGN="BOTTOM".

> [ greatpicture.gif] - display alligned right (w/ one OR two white spaces? 

Two spaces per spec, *currently* one space is enough.

> [ greatpicture.gif ] - display centered (w/ whitespaces left and right). 
> Browsers (Mozilla 1.5, Konqueror 3.1.3) don't show it centered. though the 
> code says:

This appears to be a KHTML/Konqueror bug.

> [greatpicture.gif?x=20&y=100] - display resized. This doesn't show anything, 
> and the code looks like this (might again be a urlencode/rwaurlencode 
> problem):
> <p><img src="http://.myurl.org/greatpicture.gif%253Fx%253D10"; 
> alt="Datei.evian_zug.gif?x=10">
> </p>

The image tag code does not strip anything after ?, as it can sometimes
be necessary to access resources on a remote server; think of:
http://example.com/getimage.php?filename=whatever.png&dir=img/

You have again problems with the 'binary_store' here. A strtok(..., "?")
in the ewiki_script_binary() function will help.

Other related posts: