I just added the picture to [[Cornish Rex]] but it's not behaving right. The code I used is <div align="right"> [[Image:CornishRexRopey-small.jpg|Image:CornishRexRopey.jpg]] </div> which should show one image, and link to the other. Instead it shows one image, and links to the image page of the same one. How is it done? There's no explanation on editing help on how to do this. Also the text should flow around the image, and it doesn't.
phma
Pierre Abbat wrote:
I just added the picture to [[Cornish Rex]] but it's not behaving right. The code I used is
<div align="right"> [[Image:CornishRexRopey-small.jpg|Image:CornishRexRopey.jpg]] </div> which should show one image, and link to the other. Instead it shows one image, and links to the image page of the same one. How is it done? There's no explanation on editing help on how to do this.
The simplest way is just to put the big image into the image page for the thumbnail.
Also the text should flow around the image, and it doesn't.
'align="right"' makes tables and images float, but not other things like paragraphs and div tags; it just changes the text alignment inside that section. This will do the job you want:
<div style="float: right">
-- brion vibber (brion @ pobox.com)
'align="right"' makes tables and images float, but not other things like paragraphs and div tags; it just changes the text alignment inside that section. This will do the job you want:
<div style="float: right">
Can't we make this default for [[image:...]]? There are far too many html tags in Wikipedia, and these could be really automated.
Kurt
On Thu, Jul 25, 2002 at 01:40:02AM +0200, jansson@gmx.net wrote:
There are far too many html tags in Wikipedia, [...]
Ah! Finally somebody who agrees with me! :-) Thank you, thank you.
:-) Other tags that seem to be used often are tables. I think there already is a wiki standard for this, so why not use it? (Sorry, can't find a source for this at the moment.)
<br> is used very often, too. It doesn't really annoy me, but something in wiki style whould be nicer.
Kurt
jansson@gmx.net wrote:
'align="right"' makes tables and images float, but not other things like paragraphs and div tags; it just changes the text alignment inside that section. This will do the job you want:
<div style="float: right">
Can't we make this default for [[image:...]]?
Please don't! I've got a lot of inline images in [[Shavian alphabet]] that need to flow in with the text, and automatic floating would be hurtful.
There are far too many html tags in Wikipedia, and these could be really automated.
Now, if you want to propose some way to make it float only optionally, and only on one side or the other, we'll see.
-- brion vibber (brion @ pobox.com)
<div style="float: right">
Can't we make this default for [[image:...]]?
Please don't! I've got a lot of inline images in [[Shavian alphabet]] that need to flow in with the text, and automatic floating would be hurtful.
There are far too many html tags in Wikipedia, and these could be really automated.
Now, if you want to propose some way to make it float only optionally, and only on one side or the other, we'll see.
How about [*[image:...]] and [[image:...]*] ? But I'm open to any suggestion that reduces the html tags and keeps the syntax intuitive.
Kurt
To re-use an earlier idea of mine: There could be a namespace "thumb:" (or thumbnail or preview or ...), which refers to the same files as "image:" does, but: * It has a fixed width (say, 150 pixel, or "15%" or something) * It could have "special effects", like aligning it to the right, with the text floating around it * [[thumb:xyz.png|text]] would display the thumbnailed image, with "text" below it * It would link to the large image, maybe with the description from the image: namespace
Advantages: * no new HTML, just another namespace * no need to upload small and large image, the large one will do * no ugly "click here to see the larger image" link (but, if you like that, it could be created on-the-fly)
Magnus
Pierre Abbat wrote:
I just added the picture to [[Cornish Rex]] but it's not behaving right. The code I used is
<div align="right"> [[Image:CornishRexRopey-small.jpg|Image:CornishRexRopey.jpg]] </div> which should show one image, and link to the other. Instead it shows one image, and links to the image page of the same one. How is it done? There's no explanation on editing help on how to do this. Also the text should flow around the image, and it doesn't.
Since the image automatically links to its own page I simply put the larger version of it there - when someone clicks on the image they'll see it.
I don't even try to get the text to wrap because I think the page often looks neater if it doesn't wrap when you're putting a fairly large pic in. I standardise my image size to about 300 or 400 pixels across because again I think it looks neater if all the images match up in a row.
wikipedia-l@lists.wikimedia.org