Wikipedia talk:Extended image syntax/Archive 2
Alternate text / Title text / Caption textAlternate text is not the same as title textFrom the text:
Is it only I who find the description on this page confusing?I am sorry but this help page just does not work. At best it's extremely confusing for wiki beginners like me. In the opening para, [ [ Image:Westminstpalace.jpg|caption] ] is mentioned as the format that "used" to work for captions. The next section says [ [ Image:Westminstpalace.jpg|alt text ] ] "used" to work for alt text. But these two are the same. This is rather confusing. It seems that the latter is now working, but just the caption is gone. . . The only way I am able to get the caption to show up is by putting a frame on the image (see Kazi Nazrul Islam, Durga) but maybe I am missing something. Personally I think the older format was better, since caption text is much more frequently used than alt text. I mean, most of us acquire 70% of the information in an article by reading figure captions and we need to make it easier for wikipedians to provide captions. Alternate text has its value in special situations, but it should be easier to put captions than to do alt text!! Also, why is it that captions should be there only with a frame, isn't that a bit arbitrary - and confusing with thumbnails (deep down personally I guess I dislike frames they are so boring ;-) Or maybe I am just plain dumb and am missing something altogether! - User:Mukerjee (newcomer)
Alternate text shouldn't be the same as caption textIMSoP is correct that
But with the current image syntax, they'll hear this instead:
That first paragraph is just gibberish. Unfortunately if you leave the alternate text field blank, you'll still get gibberish:
"Westminstpalace.jpg"? That's not even English. What is someone using a screenreader supposed to think when they hear that? If they're technically-minded enough to realize it's an image filename, they'll think "oh, they're making fun of me by giving me technical details about an image I can't see". Until this is fixed, there's little point in providing guidelines on how to use the image syntax (other than "use raw HTML instead"). Almost anything you do with the Wikipedia syntax will be wrong. If an accessibility-minded programmer wants to fix this, they should:
-- Mpt 11:51, 10 Jun 2004 (UTC) Alt, title, and caption text in extended markupI think more than one piped text should be assigned to the title, alt, or caption text. What I mean is: [[Image:foo.png|frame|Caption text]] will currently make an image with "Caption text" as the alt tag, title tag, and the visible caption at the bottom of the frame. It is impossible to make one different from the other with the current markup (without adding HTML), but people want it and it is the way the tags are meant to be used, and it should definitely be possible with the extended markup. I propose that one piped text behaves exactly the same as it currently does, but any additional piped text become one or more of the other types of "captions": [[Image:foo.png|frame|Alt and Title text|Displayed caption text]] So with two "caption texts", one gets mapped to both the title and alt, and the other gets mapped to the visible caption. [[Image:foo.png|frame|Alt text|Title text|Displayed caption text]] For three caption texts, one is mapped to alt, one to title, and one to visible caption. This seems like it would be easy to add to the code and would be backwards compatible. - Omegatron 15:05, Jun 21, 2004 (UTC)
[[Image:foo.png|frame|thumb|Caption text]]
[[Image:foo.png|frame||Alt text|Title text|Caption text]]
Move discussion of alternate/title/caption text to MediaWiki?There's a discussion on these topics at MediaWiki [1], which seems the most appropriate place as technical changes may be required. It also seems like a good idea to work all this out at once. (I've made this same note at Wikipedia talk:Extended image syntax#Alternate text / Title text / Caption text and Wikipedia talk:Captions#Captions vs. alt text.)-- kop 18:14, 5 Sep 2004 (UTC)
"Centre" in captionsCan anybody explain the alignment oddity with captions with the word "centre" in them, seen here and here? It seems to be picking on British English... --rbrwrˆ 23:04, 27 May 2004 (UTC)
Background for framesShouldn't the background color of the frame be white, with a gray border? Images with transparency have a gray background the way it is now. - Omegatron 21:15, Jun 11, 2004 (UTC)
What's going on with imagesI've noticed all of a sudden that thumbnailed images seem to have gone to the far left of the article space and overlap with the taskbar. I dont know if anyone else has experienced this or whether it's only me. But it wasn't doing it a few days ago. G-Man 23:48, 9 Jun 2004 (UTC)
Coventry is an example, although it only seems to be doing it on one computer I use. I was using another computer earlier and it was fine. G-Man 19:52, 10 Jun 2004 (UTC) Example of image rendering concernsBorrowing from Wikipedia:Featured picture candidates two image rendering examples follow.........- Bevo 18:48, 10 Jun 2004 (UTC)
{|
{|
[[Image:Painter's algorithm.png|thumb|left|400px|Painter's algorithm]] ![]() Illustration for painter's algorithm. Early crappy attempt at vector drawing from me, but I'm giving this nomination a shot anyway. Fredrik 15:21, 30 May 2004 (UTC)
Interesting that Mozilla FireBird 0.7 (the previous version of FireFox) renders both images correctly. So, maybe there is a bug in FireFox 0.8 ? - Bevo 14:22, 11 Jun 2004 (UTC)
I'm having this problem too. FireFox 0.8 here. Fredrik (talk) 09:14, 13 Jun 2004 (UTC) Looks ok for me after removing the table (Case 3). This also has the advantage to work better for really small screens (pdas etc). You can use the same techique with the <br style="clear:left"/> at the end for photo galleries as well, the images will wrap to the available screen width then. -- Gabriel Wicke 22:02, 13 Jun 2004 (UTC) Suddenly, this afternoon the image in Case 2 above is rendering OK using Mozilla FireFox 0.8. - Bevo 19:15, 14 Jun 2004 (UTC)
Wikipedia:Editing help updateHow to update the images at editing help? Specifically the required markup is as follows. Jamesday 02:17, 8 Jul 2004 (UTC) Image, it's uploaded size, inline, no border, with captionThis is the markup for the puzzle sphere on the left. At present the caption is missing due to broken backwards compatibility. Note the requirement to maintain transparency for this image - using "frame" breaks that and displays white instead of transparent. Looks as though only the doing it by hand approach with a div can now achieve this result? A pictureThis one is still fine. [[Image:Wiki.png]] works as it used to. No update needed. or, with alternate text[[Image:Wiki.png|jigsaw globe]] works as it used to, complete with the inaccurate description of hover text as alt text. No update needed. However, alternate text isn't very useful since we usually want a caption instead, to give attribution or a description. This one should probably be replaced, perhaps as suggested: [[Image:Wiki.png|frame|none|jigsaw globe]]? ![]() or, floating to the right side of the page and with a caption![]() [[Image:Wiki.png|right|jigsaw globe]] no longer works due to broken backwards compatibility - "jigsaw globe" is displayed as hover text instead of as a caption. The caption text is displayed as hover text instead of as a caption. This one should probably be updated to [[Image:Wiki.png|frame|right|jigsaw globe]] to display the image in the now-preferred box. Breaks the transparency, though. The backwards compatibility might also need to be fixed - no idea how many articles now look inaccurate because the caption explaining an image is now missing. or, floating to the right side of the page without a caption[[Image:Wiki.png|right|]] still works fine. No update needed. Three questions
Acegikmo1 04:33, 25 Jul 2004 (UTC)
Image Markup/ New Preferences (suggestion)I've just come up with a new item in the preferences: preferred size of the default thumbnail box. I've noticed that a couple of contributors define the width of the thumbnail when there is no reasons. I think most of the time, they do this, so the page looks nice. Now, what looks nice on a small screen might look rather weird on a big one, and vice versa. My suggestion is to let users choose. Of course, there are cases when we want exactly 237px width (e.g. if the picture is that size). So, I suggest we have a preference to set the default size of thumbnails. Next, we of course encourage all Wikipedians not to add fixed size unless needed. Can I at this stage also mention, that thumb should be used, because it includes the given description as a caption... many contributors seem to to know that thumb, right etc. are not exclusive statements... Kokiri 13:35, 28 Jul 2004 (UTC)
Indexed PNG thumbnailsForgive me if there's already some discussion about this somewhere: are there any plans to improve the image auto-thumbnail process to account for PNGs with indexed color? I'd much rather upload a high-resolution image and let the thumbnail be generated automatically, but since they're converted to true-color, the thumbnail often ends up larger (in bytes) than the original (for instance, the six images on Four-stroke cycle), or almost as large (the rotor breakdown on Enigma machine). Seems to me it should be a fairly simple matter to have the thumbnailing script (or whatever it is) look at the color depth in the original image, and convert appropriately (using true-color only for the intermediate resizing). I've noticed some rather heated disagreements over this issue that would be neatly solved if thumbnailing worked better for indexed PNGs. -- Wapcaplet 16:53, 31 Jul 2004 (UTC)
Overlap with chartsIs there any way to keep an image from overlapping with, say, a navigation box on the bottom of a page (see [2] for an example) besides, of course, making the image smaller or adding a bunch of text (I was forced to do both on Pope Gregory XV)?
New syntax not so compatible when mixed with old syntaxThe page about Shuttle Buran had problems rendering thumbnail images on 05:17, 23 Oct 2004. (now it's ok) It probable due to mixing Image markup with HTML with New syntax like this:
There must have been recently a change to the So while the page about the new syntax states "The new syntax is backward compatible, so articles don't have to be changed." it can actually be incompatible with some strangely formulated pages.
SizeDo I understand this correctly, the only picture that can be enlarged is the "thumb" one? [[Image:Westminstpalace.jpg|1000px|none]] ![]() [[Image:Westminstpalace.jpg|100px|none]] ![]() [[Image:Westminstpalace.jpg|100px|frame|none]] ![]() [[Image:Westminstpalace.jpg|600px|thumb|none]] ![]() Two questionsHow to disable the link to the original image?When the image is uploaded at the exact size for display, it makes little sense to have a link to the original image file; this makes even less sense for images that are meant to function as icons, small logos, etc. But how to specify an image for display without showing the link to the uploaded image?
How to force an image to be displayed inline?The “project page” says that if an alignment of ‘none’ is specified, then “The image will be rendered inline, even if the thumbnail-option is set”. However, this is not always true. If the image with ‘none’ alignment is inside an external link, MediaWiki will show the external link icon, then a line break, then the image, then another line break; this is very far from rendering the image inline. What is the correct way to deal with such situations? Gniw 20:32, 5 Feb 2005 (UTC)
How to link images to another wiki?I'm about to maintain few articles in both en.wikipedia.org and ru.wikipedia.org ![]() I have uploaded some images, like this one as {{PD-release}}. Is there a way to NOT duplicate these images for articles on ru.wikipedia.org? In general, do I have a mean to crosslink wiki documents posted in different languages? Of course, I mean a wiki way to do this. --jno 16:24, 14 Feb 2005 (UTC)
Multiple images in one frameI am trying to replace this: With this (it's a table):
But I can't figure out how to hijack the frame div markup to make it look pretty in a frame: ![]()
This is the best I can get:
Can anyone help? - Omegatron 17:35, Mar 12, 2005 (UTC)
- Omegatron 16:49, Mar 21, 2005 (UTC)
Here's a pretty good imposter. CSS isn't that hard! - Omegatron 19:52, Mar 21, 2005 (UTC)
Except that a long caption makes it weird because of the width:auto;
Transistor symbols of different types Transistor symbols of different types Transistor symbols of different types Transistor symbols of different types
in firefox it resizes itself as you wiggle the window size back and forth. i take it the thumbcaption class needs an extra tag or two? implementing a bugfix type thing would help this greatly. This would fit in well with my proposal for a table namespace, letting us offload the table itself to Table:Transistor types, and call it like an image:
Fie and curses! I had thought to brilliantly throw the float syntax behind a template, but then I realized that the pipe characters would muck up the template syntax. Ooh! But wait! I suppose it could be used for something like the following: {{float_begin|side=left}} {| border="0" cellpadding="10" cellspacing="0" style="font-size: 85%; border: 1px solid #CCCCCC;" |- align = "center" | [[Image:BJT_symbol_PNP.png]] || PNP || [[Image:JFET_symbol_P.png]] || P-channel |- align = "center" | [[Image:BJT_symbol_NPN.png]] || NPN || [[Image:JFET_symbol_N.png]] || N-channel |- align = "center" | BJT || || JFET || |} {{float_end|caption=Transistor symbols of different types}} or, really, {{float_begin|side=right}} [[Image:Foobar_season1.jpg|none|300px|Season 1 logo]]<br> [[Image:Foobar_season2.jpg|none|300px|Season 2 logo]]<br> [[Image:Foobar_season3.jpg|none|300px|Season 3 logo]]<br> [[Image:Foobar_season4.jpg|none|300px|Season 4 logo]]<br> [[Image:Foobar_season5.jpg|none|300px|Season 5 logo]]<br> [[Image:Foobar_season6.jpg|none|300px|Season 6 logo]] {{float_end|caption=Logos from each of the opening sequences}} This uses Template:float_begin and Template:float_end
which would generate the same wikicode. Is this an optimal solution, do you think? The transformation is pretty trivial, but it would solve most of the problems mentioned. Thoughts or enhancements? Is there already something like this? I didn't see any mention of formatting templates in Wikipedia:Template messages. grendel|khan 20:07, 2005 Mar 21 (UTC)
Mostly working nowOk I did it: - Omegatron 22:08, Mar 21, 2005 (UTC) Small images with longer captions.![]() There seems to be an issue with small images. Namely, since the box size is based on the image size, the caption is chopped short. Is there a way to get a larger frame, or should I make a bug report? Shimmin 14:43, Apr 21, 2005 (UTC) Images from WikicommonsIs there any way to get Wikipedia's customized <img> tag to link to pictures from Wikimedia Commons? I'm trying to add some of the images there to the Interlingua wikipedia, but it didn't work, so I had to upload it to the Interlingua server manually. That seems like a waste. Almafeta 12:14, 27 Apr 2005 (UTC) I'm thinking the same thing. How do you link to a pic in commons?--Jaysscholar 03:04, 1 October 2005 (UTC) thumb tag breaks imagesIn my 1.5b3 wiki, if I use a thumb tag in the image syntax, the image doesn't show up. The caption appears correctly, but no picture is visible. I can force the image to the right of the page and a smaller size using right|200px, but then I don't get a caption. What could be stopping me from using the thumb tag?
|
Portal di Ensiklopedia Dunia