[Wikipedia-l] Image link to larger image

Brion VIBBER brion at pobox.com
Wed Jul 24 18:46:33 UTC 2002


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)




More information about the Wikipedia-l mailing list