Wikipedia talk:Extended image syntax

This is an old revision of this page, as edited by Angela (talk | contribs) at 03:33, 1 February 2004 (from the village pump). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

I'm confused: If you choose 'thumb', do you have to provide a thumbnail image, or is the "thumbnail" actually just a squeezed-up copy of the normal image, or is the Wiki software somehow generating a thumbnail image on the fly, or what? —Paul A 02:14, 30 Jan 2004 (UTC)

The software generates a sized-down image, so it's not just the big image scaled down by the browser. The image is stored on the web server, so it's generated only once to reduce performance impact. -- JeLuF 10:56, Jan 30, 2004 (UTC)



From the text:
"and the alternate text is used as alt=-attribute for use as mouse popup and for screen reader."
No, no, no, no, NO. The alt attribute is not for mouse popup text. The alt attribute sets alternate text (instead of the image); the title attribute is recommended for use as such things as mouse-over popups (as well as the image). I'm glad to see the software seems to get this right, in as much as the title attribute is being set to the same thing as the alt, but we really shouldn't be encouraging their perception as one and the same. I can see that for most wikipedia purposes a sensible caption will be suitable as both supplementary and replacement, but could the wording on this and any other help pages make clear that this is not the alt= text. [Apologies for going off on a rant. I must be stressed.] - IMSoP 11:54, 30 Jan 2004 (UTC)

OK, I've calmed down long enough to be more wiki-like about this, and gone ahead and changed the page so that it talks about a caption text which is used for more than one purpose. I've reworded various bits to be more precise and/or understandable while I was at it, with the side effect that it may be a bit more verbose. Let me know if you think I've gone too far/done something inappropriate. - IMSoP 12:14, 30 Jan 2004 (UTC)

Once this feature is included in a MediaWiki release, this page will need to be moved to meta:MediaWiki User's Guide. In the future, we will need to have a help namespace for MediaWiki-specific pages that would link to the user guide on Meta. --mav 00:20, 31 Jan 2004 (UTC)


Would it be possible to extend the new syntax to supply a seperate image to be used as the thumbnail? For some images I optimized the thumbnail manually to provide only a part of the full image to enhance the quality of the small image. For two Examples see my user page in de:.
It should be possible to implement this backward compatible as: [[Image:LargeImage.jpg|Image:OptionalThumbnail.jpg|options|caption]] -- LosHawlos 20:38, 31 Jan 2004 (UTC)

I do that too. In that case, couldn't you just redirect the image page of the small image to the image page of the big image? --mav 00:03, 1 Feb 2004 (UTC)


How to use new Extended Image Syntax

How do I use the new extended image syntax please? I’ve read the Help but it’s still not totally clear how to use it. Here’s a screengrab of the code I’ve used up to now (from the Hawker Hunter article):
 
Can some kind person tell me the new code to replace it? You might need to know that my thumbnail is to be 300 pixels across and my Larger Version is usually 750 pixels across (but both pic sizes can vary depending on the quality and aspect ratio of the source pic). Do I still have to upload a thumbnail myself or does the new code generate it? I need the choice of placing the thumbnail on left or right, for the Hunter pic it needs to be on the right.
Thanks,
Adrian Pingstone 17:51, 30 Jan 2004 (UTC)

Well I would use the following, although it doesn't reproduce what you did exactly:
[[Image:Hunter.black.750pix.jpg|thumbnail|right|300px|A privately-owned Hawker Hunter photographed in England 2003]]
 
A privately-owned Hawker Hunter photographed in England 2003


And no, you only need to upload the large version. Fabiform 18:24, 30 Jan 2004 (UTC)
You can put in the italic and center tags: [[Image:Hunter.black.750pix.jpg|thumb|right|300px|<center>''A privately owned Hawker Hunter, photographed in England in 2003''</center>]] -- Finlay McWalter | Talk 18:31, 30 Jan 2004 (UTC)
Ah, excellent. I'll go and tweak the images I did in the last day then.  :) Fabiform 18:43, 30 Jan 2004 (UTC)
Does this new system not work with special characters? See for example: User:Dori/Sandbox. Dori | Talk 20:37, Jan 30, 2004 (UTC)
Also, check out the alt text on the right hand image in Dori's sandbox, it displays as:
<center ><strong>Image:Butrint 2.jpg</strong></center >
fabiform | talk 21:01, 30 Jan 2004 (UTC)


Thanks everyone, the new code works fine. Have a look at my first attempt (Morris Marina). I only had to upload the large pic, the thumbnail was created by the code so the work of image uploading is now halved for me. Thanks to whoever coded this improvement.

P.S. I notice that the thumbnail the code makes is a little large, it was 36K compared with the 20K I got when I made the thumbnail. So the new code will have a penalty in page loading times.Adrian Pingstone 23:13, 30 Jan 2004 (UTC)

Is there a way to align left the image on Henri_Druey ? Currently the list interferes with the image (it probably also did in the previous version). -- User:Docu

Yes, there is away to improve the page, just shift the image over to the right where it looks much more natural! It's standard practice on Wikipedia to put the first image on the right so that the beginning of lines are not disrupted. I hope you like the result.
Adrian Pingstone 20:53, 31 Jan 2004 (UTC)
This solves the formatting problem. I usually prefer to have portraits look into the article, e.g. John Adams seems to be looking the wrong way, but Henri_Druey looks o.k. even on the other side. -- User:Docu