Wikipedia talk:Extended image syntax Information & Wikipedia talk:Extended image syntax Links at HealthHaven.com
advertise
add site
services
publishers
database
health videos
Bookmark and Share

search wiki for    ?
web dir firms image gallery news pdf wiki shop video 
about
toolbar
stats
live show
health store
more stuff
JOIN/LOGIN
Featured Results:
Talking Watch, Talking Watches, Talking Clock, Talking Bible, Talking...
Talking Watch, Talking Watches, Talking Clock, Talking Bible, Talking...
independentliving.com
 Extended-release PEG-luciferin allows for long-term imaging of firefly...
Extended-release PEG-luciferin allows for long-term imaging of firefly...
caliperls.com
 The Dental Imaging Company Ltd Extended Warranties
The Dental Imaging Company Ltd Extended Warranties
thedentalimagingcompany.c...
 
WikiProject Help
Question book magnify2.svg This page is within the scope of WikiProject Help, a collaborative effort to improve the coverage of the help system on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
Archive
Archives
  1. January 2004 – March 2004
  2. January 2004 – November 2005
  3. December 2005 – November 2008


Contents

[edit] Caption and alt text

“Unfortunately, it is not possible to specify different text for these two purposes.”

This seems to be out of date. Near as I can tell, an image gets a blank alt="" by default, but you can add an alt=xxx parameter. But the caption serves as alt text when it is not shown, but then if both are specified the alt overrides the caption. Is this correct? Michael Z. 2008-12-08 00:23 z

The "alt=" option is fairly new. I have attempted to document it now, but I am not sure that I got the details right. —AlanBarrett (talk) 21:38, 2 February 2009 (UTC)

[edit] Other units besides PX?

Some images (such as those generated by the {{music}} template) use images as a substitute for characters. In these cases it is more optimal to use size units that are tied to a given font type, such as EM or EX. I'd like to suggest that these units be supported aas well. Thanks. SharkD (talk) 20:05, 2 January 2009 (UTC)

Try asking for a new feature at bugzilla:. This page is concerned only with documenting existing features. —AlanBarrett (talk) 22:24, 2 February 2009 (UTC)


[edit] Putting caption text on side of image?

Is this possible? I'd like the text to appear on the left or the right of an image, rather than underneath it. Can anyone tell me how that is possible or if it is? Wikidea 15:34, 2 February 2009 (UTC)

You could create a table in which the image is on one cell and the text of your chouce is in another cell. But it wouldn't be a caption. —AlanBarrett (talk) 22:28, 2 February 2009 (UTC)

[edit] image as background

It is possible that I missed it, but is it possible for text to overlap an image, like the image is a background? Buɡboy52.4 (talk) 02:31, 8 March 2009 (UTC)

[edit] Link

Link works here, but it doesn't work on my mediawiki at work. Does anyone know what extensions or release incorporated this feature?

[[Image:Westminstpalace.jpg|200px|caption text|link=Westminster Abbey]]

Thanks. -Legaia (talk) 19:22, 1 May 2009 (UTC)

IIRC, it was introduced in version 1.14 --Michael Daly (talk) 02:31, 1 July 2009 (UTC)

[edit] Positioning

Why does this version of the article Autobahn show the image of the Swiss network in IE8 (in strict mode) below the section "Speed limits", and in Firefox 3.0.4 also below that section, but overlaying the text of that section? IE7 shows that image as intended below the section "Current density/Switzerland" to the left of the text of that section, as does IE8 in Compatibility View. Michael Bednarek (talk) 05:23, 8 May 2009 (UTC)

[edit] disambig for Wikipedia and commons images with same file names

Is there a way to force an image to point to the commons, when images exist with identical names on both Wikipedia and Commons. http://en.wikipedia.org/wiki/File:Mission_Dolores.jpg and http://commons.wikimedia.org/wiki/File:Mission_Dolores.jpg I would like to point to the commons version, but when I do, I get the wikipedia version. SaltyBoatr (talk) 16:05, 18 August 2009 (UTC)

I don't know of any way to do that within the image syntax. The usual way to fix this problem is to rename one of the images. You can request that one (presumably the English Wikipedia one) be renamed. Eubulides (talk) 15:49, 19 August 2009 (UTC)

[edit] Images Aligned Left & Numbered List text

Hi, I have tried to align an image left and to put it in front of a numbered listed.

Qwan Ki Do See here in the Code of honour section

Unfortunately the Numbers of the list appear in the picture... Is there a way to correct that?

Thanks Fsjmax (talk) 14:14, 20 October 2009 (UTC)

It clearly seems to be a bug. However, there are several workarounds (apart from positioning the image to the right). One is to construct a simple table which allows more control; I have left my attempt on that page – feel free to revert. -- Michael Bednarek (talk) 14:55, 20 October 2009 (UTC)
Thanks a lot. It looks a lot better. Cheers Fsjmax (talk) 17:23, 20 October 2009 (UTC)
Applying a workaround is one thing, getting the bug fixed is another. For the benefit of those who want to investigate it, here is the link to the page in question when it exhibited the faulty behaviour: "Qwan Ki Do" on 19 October 2009 06:34. -- Michael Bednarek (talk) 14:23, 21 October 2009 (UTC)

[edit] Sound file linking

Is there an equivalent of this page for sound files? -- œ 02:06, 2 November 2009 (UTC)

Sorry, not that I know of. Eubulides (talk) 03:27, 2 November 2009 (UTC)
Hmm, Perhaps there should be? -- œ 11:18, 8 November 2009 (UTC)
I think so, too. I've started a draft at User:Michael Bednarek/SandBox#Wikipedia:Extended image syntax. It's all trial and error, and I have now found the virtual namespace Media: which seems to behave differently from the File: namespace. In the meantime, may be that draft provides an answer to your immediate problem, or you could raise it here. -- Michael Bednarek (talk) 13:54, 8 November 2009 (UTC)

[edit] 0.75, not 0.78

A recent edit changed "0.75" to "0.78" with the comment "It's not 80% and it's not 75%... it calculates out to 77.777777777777777% or 78%". This calculation is incorrect. What Mediawiki does is take the default thumbnail size (typically 180px), multiply it by 0.75, and then round to the nearest 10. Since 180 × 0.75 is 135, this rounds to 140. Now, it's true that 140/180 is 0.777..., but the actual factor is 0.75, not 0.777.... You can verify this by setting the default thumbnail width to 200px. If you do that, the upright image will be 150px (200 × 0.75), not 160px (200 × 0.777..., rounded to the nearest 10). I've also verified this by reading the Mediawiki source code. I fixed the project page to make this clearer. Eubulides (talk) 06:08, 12 November 2009 (UTC)

Thanks for the investigation and clarification! Binksternet (talk) 13:01, 12 November 2009 (UTC)

[edit] problems converting {{click}} to new syntax

I've noticed that certain images don't seem to display correctly when I convert the deprecated {{click}} to the new format. In other words, some images become slightly larger than with the {{click}} template, even though I'm using the same parameters. Does anyone know why this might be happening? --Ixfd64 (talk) 18:42, 12 November 2009 (UTC)

Could you please give a specific example? Eubulides (talk) 21:13, 12 November 2009 (UTC)
It seems to happen with certain images. I've provided an example below:

{{click|link=Wikipedia:Administrators|image=Goldenwiki.png|width=20|height=20|title=Example text.}}

produces

Example text.

while

[[file:Goldenwiki.png|link=Wikipedia:Administrators|20px|20px|title=Example text.]]

produces

title=Example text.

As you can see, the lower image is slightly larger. --Ixfd64 (talk) 07:20, 13 November 2009 (UTC)
The lower image isn't using the correct syntax. You want this:
[[file:Goldenwiki.png|link=Wikipedia:Administrators|20x20px|Wikipedia administrators]]
which produces an image Wikipedia administrators that is the size you want and does not generate an unwanted "title=" in the tooltip or alt text. Eubulides (talk) 08:08, 13 November 2009 (UTC)
I see. Thanks for clearing this up! --Ixfd64 (talk) 18:18, 13 November 2009 (UTC)

[edit] Orientation glitch

Mcdonalds stratford.jpg
Mcdonalds stratford.jpg

Here is an image which refuses to orient correctly unless the width is over 120px. A picture like this can't therefore be used in a gallery. Is the anomaly a function of width:height ratio? Can it be rectified by inserting additional code? It's occurred with only one of the pics in my gallery of contributions. Cheers Bjenks (talk) 20:08, 20 November 2009 (UTC)

There was something funky about File:Mcdonalds stratford.jpg. Whatever process was used to rotate it, lost information. I suspect that the rotation procedure created a JPEG image that the Wikimedia software can't grok. Anyway, I installed a version of that image that was rotated without losing info (I used jpegtran), in an attempt to fix the problem. Please feel free to revert if you don't like the result. Your gallery looks OK now, at least to me; but interestingly enough it's not working in this talk page for me right now (a caching problem perhaps?). If the problem persists, I suggest taking it up at Wikipedia:Village pump (technical). Eubulides (talk) 22:44, 20 November 2009 (UTC)
This talk page also looks good to me now, so it was just a temporary caching problem after all. Hope you like the results. Eubulides (talk) 22:45, 20 November 2009 (UTC)
I dips me lid, great guru of daguerreotypic digitalis. The science of such rotation is far beyond my ken. :) Cheers Bjenks (talk) 03:03, 21 November 2009 (UTC)



Product Results (view all...)

search wiki for    ?
web dir firms image gallery news pdf wiki shop video 



↑ top of page ↑about thumbshots