Wikipedia talk:Extended image syntax/Archive 3: Difference between revisions
Content deleted Content added
MalnadachBot (talk | contribs) m Fixed Lint errors in signatures. (Task 2) |
m Fix Linter errors. |
||
Line 12:
''Note: there is currently a vote and/or discussion going on at [[Wikipedia talk:Image use policy]] about removing the recommendation not to use fixed pixel sizes for images. [[User:Gerbrant|Shinobu]] 07:22, 13 December 2006 (UTC)''
''Note: As at July 2008, there is again discussion going on at [[Wikipedia talk:Manual of Style#Watering down of non-use of pixel sizes]] about removing the recommendation not to use fixed pixel sizes for images.'' --[[User:AliceJMarkham|AliceJMarkham]] ([[User talk:AliceJMarkham|talk]]) 07:19, 10 July 2008 (UTC)
== Suggestion: Add "link" option to Image syntax ==
Line 21:
If there is no way, I suggest that someone add a link option to the image syntax.
--[[User:Tiger_Marc|Tiger Marc]][[User talk:Tiger_Marc|<
: There is not a real way to do it. You can file a feature request. What is the exact application you are looking for? There is a template that provides this functionality, but it's a fragile hack in my opinion, and I'm not going to point you to it yet. :-) It only works in a few browsers, and not consistently. — [[User:Omegatron|Omegatron]] 23:55, 2 March 2006 (UTC)
Line 51:
== "Compatibility considerations" ==
<s>I am surprised to see the "Compatibility considerations" section Omnplex [http://en.wikipedia.org/w/index.php?title=Wikipedia:Extended_image_syntax&diff=45414414&oldid=43491009 added] recently, and I would like to remove it. Compatibility with browsers that don't support <
:Eh, I fixed it. ~[[User:Mdd4696 |MDD]][[User talk:Mdd4696 |46]][[Special:Contributions/Mdd4696 |96]] 17:51, 20 May 2006 (UTC)
Line 82:
:::It's SVG, it must be trivial to combine them. That would be neater anyway. [[User:Gerbrant|Shinobu]] 10:40, 11 October 2006 (UTC)
::::Indeed, but they are separate for a reason :-P I'm making a template to create motorway signs like the one above - so the above would be given by <
== Background color of image box ==
Line 94:
Is there any way to centre short captions on wide images. It can look a bit untidy when the text is sitting on the left hand side.--[[User:203.214.91.152|203.214.91.152]] 11:55, 9 October 2006 (UTC)
:[[Image:Dingle peninsula panorama crop.jpg|thumb|
Very sparingly, if ever in articles, as it is contrary to the manual of style. Elsewhere, no big deal I would say. [[User:HighInBC|HighInBC]]<small> <sup>(Need help? [[User_talk:HighInBC|Ask me]])</sup></small> 03:18, 14 December 2006 (UTC)
Line 196:
[[Image:tst.png|left|200px|100px size]]Example image with 200px size.
<br style="clear:both;">
I can see enlarged images (at least in the preview).<br />
OK. In the saved page the images are enlarged too (tested in Internet Explorer and Firefox).<br />
--[[User:Ajvico|Ajvico]] 07:57, 7 September 2007 (UTC)
:Try it again with "thumbnail" as mentioned on the project page. --[[User:Van helsing|Van helsing]] 09:20, 7 September 2007 (UTC)
Line 207:
{{clr}}
:See? --[[User:Van helsing|Van helsing]] 09:22, 7 September 2007 (UTC)
::The text on the project page is ''"100px": Scales the image down to make it 100 pixels wide. Replace any number for 100. If you specify "thumbnail" and a value here, this value will take precedence. If the image is already smaller than your specified value, the image stays at its size.''<br />
::I think it's not clear that "''If the image is already smaller than your specified value, the image stays at its size''" only applies when "thumbnail" is used.<br />
::At least, I didn't understood such thing when I read it (but I'm spanish, so it could be a misunderstanding).<br />
::--[[User:Ajvico|Ajvico]] 15:25, 8 September 2007 (UTC)
== "border" option seems to have gone away (or broken) ==
For example, <
:I submitted this as a bug [http://bugzilla.wikimedia.org/show_bug.cgi?id=11338 Bugzilla 11338] [[User:Michael Daly|Michael Daly]] 17:15, 14 September 2007 (UTC)
Line 248:
Is it possible for one to parse things like |thumb|left and such so that it would be <nowiki>[[Image:Image.jpg|{{{1|}}}|{{{1|}}}]]?</nowiki>
I ask because I am attempting to create a template from this, and I need the image map within the template to be able to be re-sized as the template is used.— '''[[User:Daedalus969|<
== How do you use upright?! ==
Line 278:
==Positioning==
Why does <span class="plainlinks">[http://en.wikipedia.org/w/index.php?title=Autobahn&oldid=288041170#Current_density this version]</span> 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. [[User:Michael Bednarek|Michael Bednarek]] ([[User talk:Michael Bednarek|talk]]) 05:23, 8 May 2009 (UTC)
== Link ==
Line 308:
== Sound file linking ==
Is there an equivalent of this page for sound files? -- [[User:OlEnglish|<
: Sorry, not that I know of. [[User:Eubulides|Eubulides]] ([[User talk:Eubulides|talk]]) 03:27, 2 November 2009 (UTC)
::Hmm, Perhaps there should be? -- [[User:OlEnglish|<
:::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 [[Wikipedia:Namespace|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. -- [[User:Michael Bednarek|Michael Bednarek]] ([[User talk:Michael Bednarek|talk]]) 13:54, 8 November 2009 (UTC)
Line 327:
:: It seems to happen with certain images. I've provided an example below:
<
produces
Line 335:
while
<
produces
Line 344:
: The lower image isn't using the correct syntax. You want this:
:: <
: which produces an image [[file:Goldenwiki.png|link=Wikipedia:Administrators|20x20px|Wikipedia administrators]] that is the size you want and does not generate an unwanted "title=" in the tooltip or alt text. [[User:Eubulides|Eubulides]] ([[User talk:Eubulides|talk]]) 08:08, 13 November 2009 (UTC)
Line 403:
I have been struggling to re-size images with the 'px' parameter. Only recently discovered that (surprise!) 'frame' disables re-sizing. Which is mentioned under 'frame', but not in the discussion of re-sizing. How about mentioning this under 'px' (the feature it disables)? - [[User:J. Johnson|J. Johnson (JJ)]] ([[User talk:J. Johnson|talk]]) 22:12, 4 August 2010 (UTC)
:added note in lead and 'size' section - good enough ? [[user:leevanjackson|Lee∴V]] [[User talk:leevanjackson|<
::That should work. Thanks - [[User:J. Johnson|J. Johnson (JJ)]] ([[User talk:J. Johnson|talk]]) 20:21, 12 August 2010 (UTC)
Line 430:
-->
:This will require a software update; see [[WP:BUG]]. ---'''''— [[User:Gadget850|<span style="color:gray">Gadget850 (Ed)</span>]]<span style="color:darkblue"> </span>'''''
:It seems to me that image floating is supported by {{Tl|Css Image Crop}}.
Line 535:
[[File:Muzeul_Olteniei.JPG|70x200px]]
[[File:Muzeul_Olteniei.JPG
I tried <code>70x200px</code>" and also <code>70px|x200px</code> but it doesn't work. Thanks!
Line 584:
{{ping|Redrose64}} Sorry to bother you again, but could you have a look at [[Ronald Reagan#Early life]]? There is an extremely large white gap above the next section, and I'm unsure how to fix this (I have tried implementing the templates, but again to no avail.) Perhaps, the sidebar should be moved somewhere else. Thanks again.--[[User:Neve-selbert|Nevé]][[Special:Contributions/Neve-selbert|–]][[User talk:Neve-selbert|selbert]] 05:50, 15 October 2016 (UTC)
:Some people have an allergic aversion to any image opposite any other image or infobox, but it's nonsense if you're careful. Take a look. '''[[User:EEng#s|<
::Thanks {{u|EEng#s}}. What a simple solution!--[[User:Neve-selbert|Nevé]][[Special:Contributions/Neve-selbert|–]][[User talk:Neve-selbert|selbert]] 06:13, 15 October 2016 (UTC)
:::You may wire my fee to the usual account. It depends how you interpret [[WP:SANDWICH]]'s injunction to "avoid sandwiching text between two images that face each other, or between an image and infobox, navigation template, or similar". Some people interpret that to forbid ''any'' text between an box/image on the left and a box/image on the right, regardless of the boxes/images widths. But I interpret it to mean the text shouldn't be "sandwiched" in the sense of being squeezed into an unattractively narrow column because the total width of the boxes/images on either side takes up too much of the horizontal width. In this case both the images (on the left) and the box (on the right) are relatively narrow, so it looks fine.
:::I'm assuming you have a wide-screen display. Notice that if you simulate an older, narrower display by narrowing the window, something very satisfying happens, in that the images get forced down to the point where they're not opposite the infobox anymore anyway, so that either way there's no unsightly narrow column of text. The same technique is used at [[Widener_Library#Parallel_classification_systems_and_dual_catalogs]] and at [[Phineas_Gage#Accident]]. '''[[User:EEng#s|<
::::{{ping|EEng#s}} Hi again. I've replaced the thumbnails with {{tl|Multiple image}} to have the two images conjoined, but the placement is not where it should be. Not sure exactly how to work this one out. I've tried stacking, but again to no avail.--[[User:Neve-selbert|Nevé]][[Special:Contributions/Neve-selbert|–]][[User talk:Neve-selbert|selbert]] 19:42, 15 October 2016 (UTC)
:::::To the original q: the large white gap was simply the presence of {{tlx|Clear}}, nothing more. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] ([[User talk:Redrose64|talk]]) 20:29, 15 October 2016 (UTC)
::::::While that's strictly true, but removing the /clear/ merely revealed another problem, which still needed solving. '''[[User:EEng#s|<
== Infobox images/borders ==
Line 610:
I'd like to request a new feature that allow a user to flip horizontally or mirror an image without having to upload a separate file that has been manually edited. I understand that CSS supports this functionality but it would be extremely helpful if it were built in the Wiki image syntax as it does not work well with thumb nail viewing. Thank you.--[[User:TriiipleThreat|TriiipleThreat]] ([[User talk:TriiipleThreat|talk]]) 16:03, 14 September 2017 (UTC)
:I'd be interested to know where this feature would be used. '''[[User:EEng#s|<
::We'll in journalism it is considered a faux pas to place an image so that it faces off-screen or away from the text. Because of this users are forced to choose a less desirable image that faces the correct way, alternate the image to the other side, or face the image off-screen.--[[User:TriiipleThreat|TriiipleThreat]] ([[User talk:TriiipleThreat|talk]]) 16:58, 14 September 2017 (UTC)
:::{{replyto|TriiipleThreat}} There is nothing that can be done here. If you want a new option in the image syntax, that would require a new feature in the MediaWiki software, in which case please file a request at [[phabricator:]]. If you want a new tool (like the existing tool at [[commons:]] that marks an image for rotation, to be actioned by a bot), I would suggest that the place to ask for advice would be [[c:COM:GVP]]. --[[User:Redrose64|<span style="color:#a80000; background:#ffeeee; text-decoration:inherit">Red</span>rose64]] 🌹 ([[User talk:Redrose64|talk]]) 23:26, 14 September 2017 (UTC)
::::I [https://phabricator.wikimedia.org/T93634 did] a while ago but after some initial traction and support it went no where.--[[User:TriiipleThreat|TriiipleThreat]] ([[User talk:TriiipleThreat|talk]]) 01:35, 15 September 2017 (UTC)
:::I thought you'd say that. The problem is that there are very few images that can be reversed without creating a false portrayal. People certainly shouldn't be reversed -- see [[MOS:IMGLOC]]. '''[[User:EEng#s|<
::::It doesn't just apply to people but use for people is justified if they don't have distinguishing features like scars or birthmarks.--01:30, 15 September 2017 (UTC)
:::::No, it's not. Faces and bodies are rarely symmetric and you should not falsify what the reader sees to satisfy some picayune "rule". If you want, move the image to the opposite margin. '''[[User:EEng#s|<
::::::There is never a justification to mirror an image. -- [[User:Michael Bednarek|Michael Bednarek]] ([[User talk:Michael Bednarek|talk]]) 04:07, 15 September 2017 (UTC)
:::::::Well, not ''never'' [https://en.wikipedia.org/?oldid=800226022#cite_note-dags-126] but that's an extraordinary circumstance. I suppose it might be OK to reverse a bacterium or an unidentified dancer (say, to match a pose seen in another image) but even there I'm not sure. '''[[User:EEng#s|<
::::::::Again, this applies to more than just people and the opposite margin is not always an option. It's about drawing the readers attention towards the text, not away from it.--[[User:TriiipleThreat|TriiipleThreat]] ([[User talk:TriiipleThreat|talk]]) 12:25, 15 September 2017 (UTC)
:::::::::People, dogs, horses, cars, cliffs, boats, doesn't matter. We're not going to falsify images because of this preoccupation with "facing". Readers will find the text despite their attention being deflected. '''[[User:EEng#s|<
::::::::::Images are already freely transformed on Wikipedia, this would just save a few steps. But it doesn't sound like I am going to convince you, so I'll withdraw my request and just let the status quo remain.--[[User:TriiipleThreat|TriiipleThreat]] ([[User talk:TriiipleThreat|talk]]) 13:28, 15 September 2017 (UTC)
:::::::::::Can you give an example of a human image being reversed? '''[[User:EEng#s|<
::::::::::::There's [[c:Category:Flopped images]] at Commons. None of them ought to be used. -- [[User:Michael Bednarek|Michael Bednarek]] ([[User talk:Michael Bednarek|talk]]) 01:45, 16 September 2017 (UTC)
:::::::::::::Good heaven's, they even reversed the Queen! Is there no ''respect'' anymore? '''[[User:EEng#s|<
:You can do this with CSS. Certainly it might be helpful for some images (e.g. an arrow) but in those few cases it's easier and more reliable to just save two copies of the image. Example (won't work on older browsers, and so not really advisable):
:{{Inline block|style=transform: scaleX(-1);|[[File:Bunny_Photo.jpg|thumb|none|This image and text is flipped.]]|div}}{{Inline block|[[File:Bunny_Photo.jpg|thumb|none|This is facing the right way.]]|div}}
Line 646:
What is an [[visual floating object]] in markup languages, as HTML?. There is not a Wikipedia or Help page, section or definition about. Here there is a good guide, from [[W3C]]:
* [https://www.w3.org/TR/html401/present/graphics.html#h-15.1.3 Floating objects].<br />
--[[User:BoldLuis|BoldLuis]] ([[User talk:BoldLuis|talk]]) 18:57, 27 April 2020 (UTC)
:: How is this different from [[Wikipedia:Extended image syntax#Location]] and [[Wikipedia:Extended image syntax#Aligning thumbnails to fit into text]]? - [[User:Dcljr|dcljr]] ([[User talk:Dcljr|talk]]) 22:46, 27 April 2020 (UTC)
|