Wikipedia talk:Extended image syntax

From Wikipedia, the free encyclopedia

Archive
Archives
  1. January 2004 – March 2004
  2. January 2004 – November 2005

Contents

[edit] Thumbnail px size

Should we discourage the use of literal px sizes for thumbnails? I think they should only be used for diagrams that need to be smaller but readable, for instance. Then recommend that if the user likes bigger thumbnails to change the setting in their preferences instead. — Omegatron 16:06, 29 December 2005 (UTC)

I strongly believe we should discourage hard-coding pixel size in. We don't know what size screen an editor is using, so we have no idea what's appropriate. "thumb" is sufficient, with the default being the smallest (since users with small screens suffer from large pics more than users with large screens suffer from small pics). pfctdayelise 13:52, 3 January 2006 (UTC)
This has really been bugging me recently. Whenever people specify an image size it's usually to make the image bigger than the default 180px, but they usually choose a size that's still too small for me. I'm going to be bold and add a note about this to the page (this was discussed before). ~MDD4696 17:41, 29 April 2006 (UTC)
I agree we should discourage literal pixel sizes. After all, 100px may be 8.5cm or 8.5mm depending on the device used to view the page. Perhaps it would be nice if there were "magic words" to indicate sizes like "larger than a usual picture", "icon", "a multiple of the line height" (ems?), a percentage of the default size, or the like. Shinobu 00:03, 13 June 2006 (UTC)
It still happens very often that a lot of images are being size fixed (usually to make them bigger). Considering the inherent problems of defining a fixed size for images, and the visual inconsistency when the article contains all kinds of images at all kinds of sizes, I think there is a need for a MoS directive on this. Who wants to help? Shinobu 08:42, 8 August 2006 (UTC)

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. Shinobu 07:22, 13 December 2006 (UTC)

[edit] Suggestion: Add "link" option to Image syntax

Is there a way to link to a different page other than the image's source?

I see this question asked above but not answered.

If there is no way, I suggest that someone add a link option to the image syntax. --Tiger MarcROAR! 20:37, 8 January 2006 (UTC)

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. — Omegatron 23:55, 2 March 2006 (UTC)
For imaging licensing purposes such as attribution it is important that the image link to it's media page, links can be put in the caption. HighInBC (Need help? Ask me) 03:15, 14 December 2006 (UTC)

[edit] Any way to pad images?

Looking at the infobox on the current AT&T page, I noticed that the logo was cropped a little too closely; there's not enough white space on the top or bottom, especially the top. But I can't figure out a way to add some padding around the image. I know I could just edit the image itself, but I was wondering if there is any Wikimarkup in place to allow padding that I'm just not aware of. And if there isn't, could there be? --Aaron 03:39, 27 January 2006 (UTC)

It probably could be. I don't know what you're asking, exactly. — Omegatron 23:54, 2 March 2006 (UTC)
I'm looking for something similar, I would like to be able to pad the diagram image here (among other places) so that the frame matches the width of the picture below it (and is wide enough to fit the caption). I could mess around and add the extra space to the image itself, but that's reaallly ugly. - Mobius 18:04, 31 May 2006 (UTC)

[edit] picture below picture, still aligned

i've been looking for a while and i can't seem to find any way to have more than one picture aligned to the same side of the page with text on the other side rather than just in between the images. is it even possible? Amirman 22:38, 2 March 2006 (UTC)

Can't you just put them above each other?

Test test test goof pop rawr jig pow foo biz baz boom test test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boomtest test goof pop rawr jig pow foo biz baz boom

Or maybe I don't understand what you're asking... — Omegatron 23:52, 2 March 2006 (UTC)

[edit] "Compatibility considerations"

I am surprised to see the "Compatibility considerations" section Omnplex added recently, and I would like to remove it. Compatibility with browsers that don't support float is hardly a concern. If people are using browsers like IE5 or NN4, they've got to expect that web sites might look a little screwed up. All modern (as in, released within that past 2-3 years) support floats just fine. This legacy code just clutters up the wikicode. ~MDD4696 17:45, 20 May 2006 (UTC)

Eh, I fixed it. ~MDD4696 17:51, 20 May 2006 (UTC)

[edit] Black and white

Is there a way to setup a color image to be displayed on a article in black and white?--BerserkerBen 18:35, 23 May 2006 (UTC)

[edit] Border around images

I have suggested an extension that would allow a border to be put directly around the image proper at http://bugzilla.wikimedia.org/show_bug.cgi?id=6072. --LambiamTalk 11:58, 24 May 2006 (UTC)

Yeah, the need for a border option is real. There are many places where tiny flag thumbnails are either not getting the border they need, or are getting the border using {{border}} but messing up the text afterward. OzLawyer 19:19, 5 July 2006 (UTC)

[edit] Enlarge bug

As you can see in the 2nd part of the thumb/thumbnail subsection, the globe is not being enlarged on the project page.  VodkaJazz / talk  12:31, 22 June 2006 (UTC)

[edit] Scaling should be done with Height, or both Height and Width

I am currently writing an article (in another Wiki-project) that requires a lot of pictures. All of them have varied widths and heights, some are very tall while others are flat and wide. The problem is that I have not that much text but a lot of images, so unless I scale down the pictures, I end up with a lot of space filled with nothing but images. If there was a way to scale down pictures with height I could easily fix this problem. --Ravenstorm 18:22, 17 July 2006 (UTC)

OOoooh that would be a very nice feature (where you could specify max height, max width and have it size to fit). In the meantime I've always just calculated the width from the desired height, I know of no automatic way. - Mobius 18:51, 17 July 2006 (UTC)
Resizing by height also gives problems with tall, thin images: it seems resized pictures are stored by width, and values are rounded, so trying to specify these by height leads to problems, especially if one is trying to place many tall, thin images next to each other and match the heights - as I am :-P
Just in case you haven't a clue what I'm getting at, here's an example:
[M 1  ]
cBuckley (TalkContribs) 23:49, 10 October 2006 (UTC)
It's SVG, it must be trivial to combine them. That would be neater anyway. 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 {{Motorway sign|M|1}}. Any ideas? — cBuckley (TalkContribs) 11:31, 11 October 2006 (UTC)

[edit] Background color of image box

I have a transparent gif image

that does not display correctly on pages with white background. Is there any tag to change the background color of image box? --Nevit 17:20, 2 September 2006 (UTC)

No, and you probably shouldn't try to make it happen using a hack either. It's a GIF - why don't you change the palette of the image so it does show up correctly? Make the while lines some shade of light blue or grey, for example? Shinobu 15:21, 4 September 2006 (UTC)
Thanks --Nevit 19:12, 4 September 2006 (UTC)

[edit] Centre caption text?

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.--203.214.91.152 11:55, 9 October 2006 (UTC)

Nature...
Nature...
Like this, you mean? Use sparingly, if at all. Shinobu 14:50, 9 October 2006 (UTC)

Very sparingly, if ever in articles, as it is contrary to the manual of style. Elsewhere, no big deal I would say. HighInBC (Need help? Ask me) 03:18, 14 December 2006 (UTC)

[edit] Image vs. image:

Is there a difference in whether the word image is capitalized or not when typing up the syntax? I normally write them as lower case, but someone is going through some articles and capitalizing them. Does this make any difference, or is this unneccessary? Thanks. 25or6to4 23:42, 20 October 2006 (UTC)

[edit] Changing Hue or Color Masking

Is there any kind of syntax that could change the hue of a image, or apply a color mask over a image? This could help with some situation where one can simply change the appearance of a base image to achieve the effect desired instead of uploading new images every time. -- G.S.K.Lee 08:47, 22 October 2006 (UTC)

[edit] Issue with thumbnails

I have a wiki of my own, but for some time now it has had issues with thumbnails.

click here for example

Images show up fine in any other situation, but some do not want to show up when I designate them as thumbnails. If this is not the appropriate place to put this, please say so in my user page instead of deleting the comment outright.--Archdeco 16:33, 30 October 2006 (UTC)

[edit] Imgages as background

Is there any way to add an image as the background in a page?

No. And if it could be done there would be MoS guide against it before you could say "consistency". Shinobu 09:29, 16 November 2006 (UTC)

[edit] Crop option

Sandstone tunnel on Wombeyan Caves Road
Sandstone tunnel on Wombeyan Caves Road

I haven't noticed any discussion about this. I've been looking at some images that I've uploaded for one page for one reason, such as this one, and thinking that it would be nice to be able to put a cropped version of the image onto another page (eg Bull bar, Ford Falcon, Tunnel) without having to upload several differently cropped versions of the same photo.

  • Any chance that this might be considered in the future? --Athol Mullen 05:02, 24 November 2006 (UTC)
    • Agreed, the ability to crop on a section of an image would be great. That way watermarks and such will still be on original images and the thumbnails won't break copyright. --Jecrell 15:00, 27 November 2006 (UTC)

[edit] Font size in image caption

I'm making Simple Wiktionary definitions of words with illustrative pictures in thumbnail format. (Example: wind) I'm concerned that the image captions are in too small a font. When I display them, the image caption is in a different font style and slightly smaller print than the regular text on the page. I want readers to notice the image captions because they might assume the caption is just copyright info or something and ignore it, and then they would miss the message of how the picture relates to the definition. I tried making the captions bigger with <big> (Example: touch) and am happy with the way it looks on my browser. But another user says the font size is the same for text and image captions on his browser and advises me not to play with the font size since it will display differently for different people. Is there a way to specify that the font in the image caption is to be the same font as the regular text font on the page, whatever the user has that set to? Thanks. --Coppertwig 16:11, 3 December 2006 (UTC)

[edit] Rotation?

Is it at all possible to rotate images without manually uploading a rotated version of the picture? PaulC/T+ 05:49, 17 December 2006 (UTC)

No, it's not, but there is a wishlist type of discussion going on in Wikipedia talk:Image use policy, and I'll add it to the list. :) --Athol Mullen 00:44, 20 December 2006 (UTC)

[edit] External images

Hello! Is there any way to include images from external servers (like the html img command) in the Mediawiki software? And to prevent comments :-): I know that this is NOT the way to edit and use Wikimedia pages, I am just testing ways if I could run Mediawiki as a CMS on my site. Thank you in advance! -- 85.212.176.192 10:21, 15 January 2007 (UTC)

I have found it on meta:Images#Embedding external images. Sorry for the unnecessary question! -- 85.212.179.141 15:34, 16 January 2007 (UTC)

[edit] Adding Image from another WiKi

How could I add an image from another WiKi without uploading that image again?

For example I want to add an image from an English language wiki article to French language wiki article? Do I need to upload the image again? Or is there an easy way to do the same?

You may include a a link to an image from another namespace by using the interwiki notation — for instance, I can link to an image on the French Wikipedia by using fr:Image:Sadi_Carnot.jpeg. However, if you want to include the actual image, then it should be moved to the namespace where you want to insert the image. This can be done by downloading the image, then visiting the namespace to which you wish to upload the file and uploading the file to that namespace. — cBuckley (TalkContribs) 00:11, 26 March 2007 (UTC)
Apart from the incorrect use of the word "namespace", you are quite right. But by far the best way to share an image between multiple wikis is to upload it to the Wikimedia Commons, whence it becomes available to all Wikimedia projects, as though it had been uploaded to all of them at once! - IMSoP 00:54, 26 March 2007 (UTC)