<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Apologies. My previous email sounded more like a winge than it was
meant to be...<br>
<br>
<blockquote cite="mid20050726133035.GF15360@host.pmichaud.com"
type="cite">
<blockquote type="cite">
<pre wrap="">Why don't we just introduce an img:xxx tag and use that? Have a look at
the way media-wiki does it - I quite like their syntax (It's on my todo
list to have a bash at this img tag actually)
</pre>
</blockquote>
<pre wrap=""><!---->
We can do img:xxx for images, but it ends up looking an awful lot
like an InterMap link, and seems as though it would end up being
treated a lot differently.
</pre>
</blockquote>
<br>
I'm about to have a bash at some code on this and I'm not quite sure
what you mean?<br>
<br>
Just talking use case for a moment, I think what I am after is
something a bit like the attach: syntax, but with knobs on.
Referencing the mediawiki image: tag for a moment I would like to be
able to do all the following<br>
<br>
A picture: [[Image:Wiki.png]]<br>
<br>
or, with alternative text:<br>
[[Image:Wiki.png|jigsaw globe]]<br>
<br>
or, floating to the right side of the page and with a caption (and CSS
frame):<br>
[[Image:Wiki.png|frame|Wikipedia Encyclopedia]]<br>
<br>
or, floating to the right side of the page ''without'' a caption or
frame:<br>
[[Image:Wiki.png|right]]<br>
<br>
Basically the following options are supported: right, left, center,
none, sizepx, thumbnail (thumb), frame, and alternate (caption) text.<br>
<br>
I propose to support the resizing by making it mangle the image name to
encode the resized file size. Something like Wiki.png.500px or
similar. Then we can simply test for the existence of a given resized
picture at delivery - create and store it if it doesn't exist,
otherwise just serve it straight up.<br>
<br>
How does this sound? Notice how wikipedia use [[image:xxx]] in square
brackets, do you want the syntax for pm to loose the [[..]]?<br>
<a class="moz-txt-link-freetext" href="http://en.wikipedia.org/wiki/Image_markup">http://en.wikipedia.org/wiki/Image_markup</a><br>
<br>
Notice also (rather interestingly) that they tend to float an image by
default and you have to use a style="clear:both" to prevent it (which
is actually easier I think than having a bunch of different ways to
float it or not, just make the break explicit?)<br>
<br>
<br>
Other syntax not discussed, but it should be possible is to use the
image as the display item of a link, ie something like this should be
valid.:<br>
<br>
[[Topic|image:somepicture.jpg]]<br>
<br>
Any comments so far?<br>
<br>
Ed W<br>
</body>
</html>