Help:Images and other uploaded files: Difference between revisions

From Meta, a Wikimedia project coordination wiki
Content deleted Content added
m Reverted edit(s) by 70.167.237.154; if you disagree with this rollback, please leave me a message.
Tag: Rollback
m Reverted changes by 177.226.64.15 (talk) to last version by Tegel
Tag: Rollback
 
(23 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{MovedToMediaWiki|Help:Images}}
{{H:h|editor toc}}
{{languages}}
You can upload files through MediaWiki and embed them in textual pages. In other words, to embed an image, the image file has to be uploaded. Also other files can be uploaded, [[#Supported file types|see below]]. In earlier versions of MediaWiki, the term "image" was used for any uploaded file; the current version uses the term (and namespace) "file:" or "media:" instead.

When a file is uploaded, a [[Help:Image page|file page]] (also called "image description page") will be created, with a [[Help:Page name|page name]] consisting of the file name (including extension), prefixed with "File:" (or in general the value of variable <nowiki>{{ns:File}}</nowiki> (MediaWiki 1.14 or following) or <nowiki>{{ns:Image}}</nowiki> (MediaWiki 1.13 or earlier).

Media files like images can be embedded into text using the regular [[Help:Link|internal link syntax]]. Images can also be resized to fit better within the page, [[#Embedding internal files|see below]].

A group of wikis may have designated one "preferred wiki" to upload files to, with sharing of those files enabled. Among Wikimedia wikis, [[Commons:|Wikimedia Commons]] works for this. If images are uploaded to Wikimedia Commons, they can be used in all Wikimedia wikis. Images uploaded on another wiki (e.g. [[w:Wikipedia|Wikipedia]]) can only be used in pages of that wiki. Thus this should be done only if there is a special reason for it, such as locally replacing an image from Commons with a local version without changing the links.

Images can also be produced by the system from specifications in wikitext:
*[[Help:Displaying a formula|Formulas]] (e.g. <math>n^2 = \sum_{k=1}^n(2k-1)</math> produced by <code>&lt;math&gt;n^2 = \sum_{k=1}^n(2k-1)&lt;/math&gt;</code>.)
*[[Help:EasyTimeline syntax|Timelines, navigational maps, etc.]] (e.g. [http://meta.wikimedia.org/upload/timeline/d12a83ed39e720e3d4eb41241afdef3d.png Soviet Leaders])
*[[Thumbnails]] of uploaded images (e.g. [http://upload.wikimedia.org/wikipedia/commons/1/13/LBNGR_MR740_05-09-11.jpeg A steam locomotive, at [[:File:LBNGR_MR740_05-09-11.jpeg]]]) (saves bandwidth and rendering time compared with letting the browser do the reduction)

==Supported file types ==
By default, MediaWiki only allows you to upload certain types of files (extensions ''gif'', ''jpg'', ''jpeg'', ''ogg'' and ''png''). This is managed by the orders in includes/DefaultSettings.php [http://svn.wikimedia.org/viewvc/mediawiki/trunk/phase3/includes/DefaultSettings.php?view=markup]:
<syntaxhighlight lang="php">
/**
* This is the list of preferred extensions for uploading files. Uploading files
* with extensions not in this list will trigger a warning.
*/
$wgFileExtensions = array( 'png', 'gif', 'jpg', 'jpeg', 'doc', 'docx', 'xls', 'xlsx', 'pdf' );

/** Files with these extensions will never be allowed as uploads. */
$wgFileBlacklist = array(
# HTML may contain cookie-stealing JavaScript and web bugs
'html', 'htm', 'js', 'jsb', 'mhtml', 'mht',
# PHP scripts may execute arbitrary code on the server
'php', 'phtml', 'php3', 'php4', 'php5', 'phps',
# Other types that may be interpreted by some servers
'shtml', 'jhtml', 'pl', 'py', 'cgi',
# May contain harmful executables for Windows victims
'exe', 'scr', 'dll', 'msi', 'vbs', 'bat', 'com', 'pif', 'cmd', 'vxd', 'cpl' );

/** Files with these mime types will never be allowed as uploads
* if $wgVerifyMimeType is enabled.
*/
$wgMimeTypeBlacklist= array(
# HTML may contain cookie-stealing JavaScript and web bugs
'text/html', 'text/javascript', 'text/x-javascript', 'application/x-shellscript',
# PHP scripts may execute arbitrary code on the server
'application/x-php', 'text/x-php',
# Other types that may be interpreted by some servers
'text/x-python', 'text/x-perl', 'text/x-bash', 'text/x-sh', 'text/x-csh',
# Windows metafile, client-side vulnerability on some systems
'application/x-msmetafile'
);

/** This is a flag to determine whether or not to check file extensions on upload. */
$wgCheckFileExtensions = false;

/**
* If this is turned off, users may override the warning for files not covered
* by $wgFileExtensions.
*/
$wgStrictFileExtensions = true;

/** Warn if uploaded files are larger than this (in bytes), or false to disable*/
$wgUploadSizeWarning = false;
</syntaxhighlight>

Take in to account that there is a blacklist of file extensions and mime types. For reasons of security, executable programs are not allowed by default. Also some file types that could be uploaded in the past can no longer be uploaded, but the files already uploaded can still be used.

[[w:Scalable Vector Graphics|SVG]] images uploaded earlier can be linked to, but not be directly embedded, e.g. Media:Wikipedia3fnlc1.svg ([[:Image:Wikipedia3fnlc1.svg|image description page]]) - see also m:SVG image support.

For videos see m:Video policy.

== Uploading ==
To upload a file, in general, go to Commons, [[commons:Special:Userlogin|log in there]], and upload the file using the upload link [[commons:Special:Upload]]. In the menu on the left under "toolbox" you will have a link named "Upload file". If you want to upload the file to one of the other wikis, you can follow the same steps as at Commons, but be sure to refer to the local guidelines.

Before uploading please ensure that you have rights to upload and redistribute the file(s) in question, and that they comply with any further [[Commons:Commons:Licensing|licensing requirements]] of the Wikimedia Commons project and other [[Commons:Project_plan#Criteria_for_inclusion|criteria for inclusion]]. Please note that as with wiki pages, others may edit or delete your uploads if they think it serves the project, and you may be blocked from uploading if you abuse the system.

The preferred formats are JPEG for photographic images with millions of colors and shades; PNG for fixed-color pixelated images such as icons; SVG for structured drawings, logos; and OGG for audio.

Once you get to the upload page, on most browsers, you will see a "Browse..." button, which will bring up your operating system's standard file open dialog. Choosing a file will fill the name of that file into the text field next to the button. Upload the file under a suitable name, because renaming the file after uploading is not possible. The file name doesn't need to be the same as the file name stored on your computer. Please name your files descriptively to avoid confusion and make sure that the file name has the proper [[w:extension|extension]]. Consider using the first 20 characters of the image name for as much compact information as possible, since only these are usually shown on category pages. The file names are case-sensitive (this applies even for the file name extension), except, in most wikis, for the first character.

When choosing a name for a file on Commons, do not use a name that is already in use on any project on which the file may be used. This is because a file on Commons with the same name as the one on the local is not accessible for embedding in the local project. However, if the new file on Commons should replace the local ones, and the local ones will therefore be deleted, you may use the same name.

You must also check the box affirming that you are not violating any copyrights by uploading the file. Press the "Upload file" button to finish the upload. This may take some time if you have a slow internet connection.

When a file is uploaded with the same name as an existing one, the old one is replaced, and the system will warn against overwriting. When a media file is replaced by uploading a new one with the same name (e.g. an image in an article is replaced), this does not show up in the page history of the article, nor in the [[Help:Related changes|Related changes]] of the article, nor in the revision history of the image description page (unless the description section is also changed). However, it is recorded in the Image History section of the image description page, and it changes [[m:Upload log]]. Therefore, to watch changes in images in an article, it is not sufficient to watch the article itself. Watching the image description pages will help you find the change in the file (from MediaWiki 1.13).

[[Help:Editing#Page_protection|Protection]] of an image page is automatically also protection of the image itself: i.e. a new image under the name of the existing image can only be uploaded by a sysop.

When replacing or deleting a file on Commons, all projects that use the file are affected. Therefore it is important that the image page on Commons is linked to the local image pages of that file on all projects that use it. On these, even if they have never been created explicitly and therefore have an empty editable part, the "file links" section shows the local pages that use the file.

See [[commons:Commons:First steps]] for more detail.

[[Special:Imagelist]] provides the same information as the [[m:Upload log|Upload log]], but it uses the user's local time instead of the default time (set to [[w:Coordinated Universal Time|Coordinated Universal Time]] for Wikimedia projects). In addition it gives the file sizes. Further it allows loading of portions and sorting by size in addition to sorting by date, and it has not only links to the image description pages, but also directly to the images.

== Embedding internal files ==
To embed an internal file in a text, you just have to specify its file name with the internal link syntax (<code>[[ ]]</code>). Thus, <code><nowiki>[[image:tst.png]]</nowiki></code> gives [[image:tst.png]].

Here, "internal" refers to both the same project and Commons. An image name is assumed to refer to the one in the same project if it exists there, otherwise to one on Commons. If neither exists a link to the upload page appears, with class="new" ("red link"). The link is rendered the same as one to the edit page of the non-existing image page, except that the former shows the canonical form of the pagename.

Only images proper can be automatically presented, sound is not automatically played.

An embedded internal image automatically links to the [[help:image page|image page]], which shows the full image, or, depending on preferences, a reduced version with a link to the full version. The page also provides info about the image.

Images on MediaWiki:Bad image list cannot be embedded; they appear as a regular link to the image page. Exceptions to allow a listed image on particular relevant articles can be added. See, for example, w:en:MediaWiki:Bad image list.

=== Options ===
The internal-link style markup for embedding a file can take various options separated with a pipe character ("|"). In brief, they are [[Image:{name}|{type}|{location}|{size}|{upright}|{border}|{caption}]].
; Type: 'thumb' or 'frame'. Causes image to be displayed with specific formatting (see below).
; Location: 'left', 'right', 'center' or 'none'. Determines placement of the image on the page.<ref>class="floatleft", class="floatright", class="center" with class="floatnone", and just class="floatnone". The actual position depends on css.</ref> Defaults to 'right' if the type is 'thumb' or 'frame'. The combination thumb and none can be useful in a table, to allow a caption but reduce the space around the image. Text that follows the image with location left or right floats, in the case of center or none it does not (if necessary, reduce the browser window width to see this in the examples). An image without the specification thumb or frame, and without location specified (not even ''none'') is displayed inline.
; Size: {width}px or {width}x{height}px, reduces or enlarges an image without specified type, reduces an image if thumb is specified. Even if width and height are specified the image will keep its original aspect ratio: either the width or the height will be equal to the specified maximum, whichever allows the other to be no larger than the maximum.
; Upright: for use only on images that are taller than they are wide. Adjusts a thumbnail's size to ''factor'' times the default thumbnail size, rounding the result to the nearest multiple of 10 pixels. For instance, "upright=1.5" makes the image larger, which is useful for maps or schematics that need to be larger to be readable. As a guide "upright=1" is the same width as a standard thumbnail, and "upright=0.75" is the same as using "upright" alone.
; Border: adds a border around the image.
<!--; Alt: To change the alternative text of an image.--><!--See https://bugzilla.wikimedia.org/show_bug.cgi?id=368#c18-->
; Link: To allow an image to link to an arbitrary title, URL or just nowhere.
; Alt: See [[w:wp:Alternative text for images]].
; Caption: Any element which cannot be identified as one of the above is assumed to be caption text. If there is more than one the last one is effective, even if it's an empty string. Specifying a caption parameter is strongly recommended for the sake of accessibility. Images without type do not have a caption, the caption parameter becomes a [[w:Wikipedia:Alternative text for images|"title"-attribute]], which is shown in the hoverbox. A real caption can contain links.

In the case of a non-existing image, a link to the upload page is provided. If ''type'' has been specified this is still applied, with the caption. ''Location'' is also applied. Remaining elements, even image size, are treated like caption: the last one of any of these is effective as label of the upload link.

Single pipes inside a pair of double rectangular brackets, such as in link and image syntax, are shielded by these brackets from being interpreted as table syntax. However, this does not apply to consecutive pipes, which might occur in the expanded wikitext for image syntax if an optional parameter is not applicable. Thus in the case of an optional parameter, make the pipe optional as well. A pipe in e.g. the then- or else part of a conditional parser function can be coded as <code><nowiki>{{!}}</nowiki></code>, due to [[Template:!]]. Alternatively, add an unconditional space in the image syntax: a pipe-space-pipe combination is not a double pipe, so not taken as table syntax, while a parameter position containing just a space is ignored in the interpretation of the image syntax.

In cases where text floats around the image, use <code><nowiki><br clear="all" /></nowiki></code>, or on projects that have [[Template:-|Template:Clr]] or [[Template:-]] <code><nowiki>{{clr}}</nowiki></code> or <code><nowiki>{{-}}</nowiki></code> to continue below the image(s).

An image can be in-line, a floating block, or like a paragraph (i.e., without text on the sides).

=== Inline ===
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}x]|]b}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}5px{{!}}x]|]b}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}20px{{!}}x]|]b}}
----
The default thumbnail width (also applicable to frameless) can be set in the [[Help:preferences|preferences]], so typically it is better ''not'' to specify "px". Either way, showing an enlargement of the stored image is not possible.
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frameless{{!}}x]|]b}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frameless{{!}}5px{{!}}x]|]b}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frameless{{!}}20px{{!}}x]|]b}}
----

=== Floating, neither thumb nor frame ===
With the differences mentioned above, this applies to frameless too.
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}left{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}left{{!}}5px{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}left{{!}}20px{{!}}x]|]b}}
{{-}}
----
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}right{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}right{{!}}5px{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}right{{!}}20px{{!}}x]|]b}}
{{-}}
----

=== Blank on the side(s), neither thumb nor frame ===
With the differences mentioned above, this applies to frameless too.
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}center{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}center{{!}}5px{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}center{{!}}20px{{!}}x]|]b}}
{{-}}
----
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}none{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}none{{!}}5px{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}none{{!}}20px{{!}}x]|]b}}
{{-}}
----

===Floating, thumb with caption===
Both the image itself and an "enlarge" icon in the frame links to the image page.
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}5px{{!}}x]|]b}}
{{-}}
----
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}left{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}left{{!}}5px{{!}}x]|]b}}
{{-}}
----
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}right{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}right{{!}}5px{{!}}x]|]b}}
{{-}}
----

===Blank on the side(s), thumb with caption===
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}center{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}center{{!}}5px{{!}}x]|]b}}
{{-}}
----
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}none{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}none{{!}}5px{{!}}x]|]b}}
{{-}}
----

===Limitation of thumb===
Like with frameless, showing an enlargement of the stored image is not possible, for example:
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}thumb{{!}}20px{{!}}x]|]b}}
{{-}}
----

===Floating, frame with caption===
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}left{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}right{{!}}x]|]b}}
{{-}}
----

===Blank on the side(s), frame with caption ===
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}center{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}none{{!}}x]|]b}}
{{-}}
----
===Limitation of frame===
Display in other than the stored size is not possible, for example:
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}5px{{!}}x]|]b}}
{{-}}
----
{{xpdplain|d=|a|[|[Image:Tst.png{{!}}frame{{!}}20px{{!}}x]|]b}}
{{-}}
----

===Multiple images with floating text===
----
{{xpdplain|d=|a[|[image:tst.png{{!}}left{{!}}x]|]b[|[image:tst.png{{!}}left{{!}}x]|]c}}
{{-}}
----
{{xpdplain|d=|a[|[image:tst.png{{!}}thumb{{!}}left{{!}}x]|]b[|[image:tst.png{{!}}frame{{!}}left{{!}}x]|]c}}
{{-}}
----
{{xpdplain|d=|a[|[image:tst.png{{!}}thumb{{!}}left{{!}}x]|]b[|[image:tst.png{{!}}frame{{!}}right{{!}}x]|]c}}
{{-}}

=== Link ===
By default an image is linked to its [[Help:Image page|image page]]: {{xpdplain|d=|[|[Image:Tst.png{{!}}x]|]}}

The ''link'' parameter can modify this.

:'''''Important note:''' This should ''only'' be used with images that don't require attribution (mostly public domain images). Other images ''must'' link to the image description page, otherwise they violate copyrights.''

:'''''Note:''' This (appears to) work only with non-thumbnailed images.''

* Without link: {{xpdplain|d=|[|[Image:Tst.png{{!}}link{{=}}|]|]}}
* With internal link: {{xpdplain|d=|[|[Image:Tst.png{{!}}link{{=}}Main Page{{!}}x]|]}}
* With interwiki link: {{xpdplain|d=|[|[Image:Tst.png{{!}}link{{=}}en:Clock{{!}}x]|]}}
* With external link: {{xpdplain|d=|[|[Image:Tst.png{{!}}link{{=}}http://google.com{{!}}x]|]}}

The methods above do not work with some versions with thumb and caption. Instead try brackets;
* <nowiki>[[Image:Pic.jpg|thumb|caption [link=http://google.com/] ]]</nowiki>

* Without link the caption parameter does not work: {{xpdplain|d=|[|[Image:Tst.png{{!}}link{{=}}{{!}}x]|]}}

=== Gallery ===
<!-- NOTE: At least [[m:Help:Gallery]], [[w:Help:Gallery]], and [[commons:Commons:Galleries]] link directly to this section. If you change this section's name, please update those too. -->
The gallery-tag is a quick way to show thumbnails in a number of columns. The images will have a single fixed width. The gallery-tag also allows text to take the position of an image. The resulting HTML is that of a table with class="gallery", with cells with class="gallerybox".

Each entry is of the form <code>File:''image name''</code> or <code>File:''image name''|''caption, possibly with links''</code>.

A title to the gallery can be given with the <code>caption=</code> attribute, which may contain wikilinks but not external links. The number of images per row can be set by the <code>perrow=</code> attribute; the default is 4. The width and height per image (the <code>widths=</code> and <code>heights=</code> attributes) can be set as well. If both are unset, they default to 120px. If you only set the width, the height never exceeds 120px, and vice versa. The height of the caption depends on the image width and varies per image with the length of the caption. The height of each table row is the maximum height needed in that row for an image with a caption.

Example (note that "File:" is optional, and that {{para|link}} can be used to make the image a link to a specified location, instead of to the image):
<syntaxhighlight lang="xml">
<gallery caption="Sample gallery" widths="100px" heights="100px" perrow="6">
File:Drenthe-Position.png|[[w:Drenthe|Drenthe]], the least crowded province
File:Flevoland-Position.png
File:Friesland-Position.png|[[w:Friesland|Friesland]] has many lakes
File:Gelderland-Position.png
File:Groningen-Position.png
File:Limburg-Position.png
File:Noord_Brabant-Position.png
File:Noord_Holland-Position.png
Overijssel-Position.png
Utrecht-Position.png
Zuid_Holland-Position.png|[[w:South Holland|South Holland]], the most crowded province
Zeeland-Position.png|link=nl:Zeeland (provincie)
</gallery>
</syntaxhighlight>
gives:

<gallery caption="Sample gallery" widths="100px" heights="100px" perrow="6">
File:Drenthe-Position.png|[[w:Drenthe|Drenthe]], the least crowded province
File:Flevoland-Position.png
File:Friesland-Position.png|[[w:Friesland|Friesland]] has many lakes
File:Gelderland-Position.png
File:Groningen-Position.png
File:Limburg-Position.png
File:Noord_Brabant-Position.png
File:Noord_Holland-Position.png
Overijssel-Position.png
Utrecht-Position.png
Zuid_Holland-Position.png|[[w:South Holland|South Holland]], the most crowded province
Zeeland-Position.png|link=nl:Zeeland (provincie)
</gallery>

Note that for SVG images that use <switch>, the language can be specified:

<syntaxhighlight lang="xml">
<gallery>
Gerrit patchset 25838 test.svg|English<br/>(default for this image)
Gerrit patchset 25838 test.svg|lang=de|Deutsch (German)
Gerrit patchset 25838 test.svg|lang=es|español (Spanish)
Gerrit patchset 25838 test.svg|lang=fr|français (French)
Gerrit patchset 25838 test.svg|lang=it|italiano (Italian)
Gerrit patchset 25838 test.svg|lang=no|norsk (Norwegian)
Gerrit patchset 25838 test.svg|lang=pt|português (Portuguese)
Gerrit patchset 25838 test.svg|lang=sv|svensk (Swedish)
</gallery>
</syntaxhighlight>
gives:

<gallery widths="96px">
Gerrit patchset 25838 test.svg|English<br/>(default for this image)
Gerrit patchset 25838 test.svg|lang=de|Deutsch (German)
Gerrit patchset 25838 test.svg|lang=es|español (Spanish)
Gerrit patchset 25838 test.svg|lang=fr|français (French)
Gerrit patchset 25838 test.svg|lang=it|italiano (Italian)
Gerrit patchset 25838 test.svg|lang=no|norsk (Norwegian)
Gerrit patchset 25838 test.svg|lang=pt|português (Portuguese)
Gerrit patchset 25838 test.svg|lang=sv|svensk (Swedish)
</gallery>

==== Galleries by templates ====
can be used ''only'' in the Commons environment:
* [[:c:template:F|<nowiki>{{F}}</nowiki>]] See the [[c:Template:F#Gallery_style|template description]] how to use it
* [[:c:template:G|<nowiki>{{G}}</nowiki>]] the Gallery tag, with some useful options and defaults

==== Galleries in categories ====
A gallery of images on a [[Help:Category|category]] page is automatically shown as the fourth section of this category page. The first 20 characters of the image name are shown, with dots if that is not the full name. Both the image and the name link to the image page, instead of just the image. No alternative text or other links are possible. The file size is also shown.

For a comparison, see [[commons:Category:William-Adolphe Bouguereau]] and [[commons:William-Adolphe Bouguereau]].

==== Images in a table ====
Using table syntax, with images in separate cells, and the image syntax explained elsewhere on this page, gives more control over size, layout, captions, etc. than each of the two methods above. However, only a [[category]] page automatically gives file sizes.

Example of an image table:
<syntaxhighlight lang="text">
{| border="1"
|+'''Provinces of the Netherlands'''
|-
| valign="top"|
[[File:Drenthe-Position.png|thumb|left|150px|[[w:Drenthe|Drenthe]], the least crowded province]]
| valign="bottom"|
[[File:Flevoland-Position.png|thumb|left|100px|]]
| valign="top"|
[[File:Friesland-Position.png|thumb|left|100px|]]
|-
|
|-
| valign="top"|
[[File:Gelderland-Position.png|thumb|left|100px|]]
| valign="top"|
[[File:Zuid_Holland-Position.png|thumb|left|100px|[[w:South Holland|South Holland]], the most crowded province]]
| valign="top"|
[[File:Utrecht-Position.png|thumb|left|50px|]]
|}
</syntaxhighlight>

gives:

{| border="1"
|+'''Provinces of the Netherlands'''
|-
| valign="top"|
[[File:Drenthe-Position.png|thumb|left|150px|[[w:Drenthe|Drenthe]], the least crowded province]]
| valign="bottom"|
[[File:Flevoland-Position.png|thumb|left|100px|]]
| valign="top"|
[[File:Friesland-Position.png|thumb|left|100px|]]
|-
|
|-
| valign="top"|
[[File:Gelderland-Position.png|thumb|left|100px|]]
| valign="top"|
[[File:Zuid_Holland-Position.png|thumb|left|100px|[[w:South Holland|South Holland]], the most crowded province]]
| valign="top"|
[[File:Utrecht-Position.png|thumb|left|50px|]]
|}

Note that, with this method, each image has a width specified by the size option, if any, and a height depending on whether there is caption or not, and how long the caption is. The width of a column is determined by the widest image in it, and the height of the row is determined by the tallest image in it.

The parameters {{para||left}} and {{para||right}} may give complications inside a table (and may not be needed anyway), depending on the browser. In IE the first table sometimes (!) displays text through the image:
<pre>
{| border="1"
| [[File:Crystal_Clear_app_clock.png|left]]
|abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
|}
</pre>
{| border="1"
| [[File:Crystal_Clear_app_clock.png|left]]
|abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
|}
<pre>
{| border="1"
| [[File:Crystal_Clear_app_clock.png]]
|abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyz
|}
</pre>
{| border="1"
| [[File:Crystal_Clear_app_clock.png]]
|abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz abcdefghijklmnopqrstuvwxyz
|}

==== Mode parameter ====
-- MediaWiki (MW) 1.22 and after --

Starting in 1.22 a <code>mode</code> parameter is available, taking options as follows:

* <code>traditional</code> is the original gallery type used by MediaWiki.
* <code>nolines</code> is similar to <code>traditional</code>, but without border lines.
* <code>packed</code> also omits border lines, but displays images larger – to the full height of the row, and with little space between them – giving them the same ''height'', but causing different ''width'' images, instead of showing them organized in columns. The rows in this [[w:Responsive web design|responsive]] mode organize themselves according to the width of the screen.
* <code>packed-overlay</code> shows the caption overlaid on the image, in a semi-transparent white box.
* <code>packed-hover</code> is similar to <code>packed-overlay</code>, but with the caption and box only showing up on hover.
* <code>slideshow</code> creates a slideshow of the images.

For example:

<syntaxhighlight lang="moin">
<gallery mode="packed-hover">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
Image:Pterois volitans Manado-e.jpg|''[[commons:Pterois volitans|Pterois volitans]]'' (Red Lionfish)
Image:Macropodus opercularis - front (aka).jpg|''[[commons:Macropodus opercularis|Macropodus opercularis]]'' (Paradise fish)
Image:Canthigaster valentini 1.jpg|''[[commons:Canthigaster valentini|Canthigaster valentini]]'' (Valentinni's sharpnose puffer)
Image:Flughahn.jpg|[[Image:POTY ribbon 2007.svg|25px]] ''[[commons:Dactylopterus volitans|Dactylopterus volitans]]'' (Flying gurnard)
Image:Fishmarket 01.jpg|''[[commons:Semicossyphus pulcher|Semicossyphus pulcher]]'' (California Sheephead)
Image:Pseudorasbora parva(edited version).jpg|''[[commons:Category:Pseudorasbora parva|Pseudorasbora parva]]'' (Topmouth gudgeon)
Image:MC Rotfeuerfisch.jpg|''[[commons:Category:Pterois antennata|Pterois antennata]]'' (Antennata Lionfish)
Image:Cleaning station konan.jpg|''[[commons:Novaculichthys taeniourus|Novaculichthys taeniourus]]''
Image:Synchiropus splendidus 2 Luc Viatour.jpg|''[[commons:Synchiropus splendidus|Synchiropus splendidus]]'' (Mandarin fish)
File:Psetta maxima Luc Viatour.jpg|''[[commons:Psetta maxima|Psetta maxima]]'' (Turbot)
File:Australian blenny.jpg|''[[commons:Category:Ecsenius|Ecsenius axelrodi]]''
</gallery>
</syntaxhighlight>

Gives (mode: <tt>packed-hover</tt>):

<gallery mode="packed-hover">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
Image:Pterois volitans Manado-e.jpg|''[[commons:Pterois volitans|Pterois volitans]]'' (Red Lionfish)
Image:Macropodus opercularis - front (aka).jpg|''[[commons:Macropodus opercularis|Macropodus opercularis]]'' (Paradise fish)
Image:Canthigaster valentini 1.jpg|''[[commons:Canthigaster valentini|Canthigaster valentini]]'' (Valentinni's sharpnose puffer)
Image:Flughahn.jpg|[[Image:POTY ribbon 2007.svg|25px]] ''[[commons:Dactylopterus volitans|Dactylopterus volitans]]'' (Flying gurnard)
Image:Fishmarket 01.jpg|''[[commons:Semicossyphus pulcher|Semicossyphus pulcher]]'' (California Sheephead)
Image:Pseudorasbora parva(edited version).jpg|''[[commons:Category:Pseudorasbora parva|Pseudorasbora parva]]'' (Topmouth gudgeon)
Image:MC Rotfeuerfisch.jpg|''[[commons:Category:Pterois antennata|Pterois antennata]]'' (Antennata Lionfish)
Image:Cleaning station konan.jpg|''[[commons:Novaculichthys taeniourus|Novaculichthys taeniourus]]''
Image:Synchiropus splendidus 2 Luc Viatour.jpg|''[[commons:Synchiropus splendidus|Synchiropus splendidus]]'' (Mandarin fish)
File:Psetta maxima Luc Viatour.jpg|''[[commons:Psetta maxima|Psetta maxima]]'' (Turbot)
File:Australian blenny.jpg|''[[commons:Category:Ecsenius|Ecsenius axelrodi]]''
</gallery>

Examples of the other modes:

<code>mode="traditional"</code>
<gallery mode="traditional">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
</gallery>

<code>mode="nolines"</code>
<gallery mode="nolines">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
</gallery>

<code>mode="packed"</code>
<gallery mode="packed">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
</gallery>

<code>mode="packed-overlay"</code>
<gallery mode="packed-overlay">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
</gallery>

MW 1.28 and after
<code id="slideshow-demo">mode="slideshow"</code>
<gallery mode="slideshow">
Image:Astronotus_ocellatus.jpg|''[[commons:Astronotus ocellatus|Astronotus ocellatus]]'' (Oscar)
Image:Salmonlarvakils.jpg|''[[commons:Salmo salar|Salmo salar]]'' (Salmon Larva)
Image:Georgia Aquarium - Giant Grouper.jpg|''[[commons:Epinephelus lanceolatus|Epinephelus lanceolatus]]'' (Giant grouper)
Image:Pterois volitans Manado-e.jpg|''[[commons:Pterois volitans|Pterois volitans]]'' (Red Lionfish)
Image:Macropodus opercularis - front (aka).jpg|''[[commons:Macropodus opercularis|Macropodus opercularis]]'' (Paradise fish)
Image:Canthigaster valentini 1.jpg|''[[commons:Canthigaster valentini|Canthigaster valentini]]'' (Valentinni's sharpnose puffer)
Image:Flughahn.jpg|[[Image:POTY ribbon 2007.svg|25px]] ''[[commons:Dactylopterus volitans|Dactylopterus volitans]]'' (Flying gurnard)
Image:Fishmarket 01.jpg|''[[commons:Semicossyphus pulcher|Semicossyphus pulcher]]'' (California Sheephead)
Image:Pseudorasbora parva(edited version).jpg|''[[commons:Category:Pseudorasbora parva|Pseudorasbora parva]]'' (Topmouth gudgeon)
Image:MC Rotfeuerfisch.jpg|''[[commons:Category:Pterois antennata|Pterois antennata]]'' (Antennata Lionfish)
Image:Cleaning station konan.jpg|''[[commons:Novaculichthys taeniourus|Novaculichthys taeniourus]]''
Image:Synchiropus splendidus 2 Luc Viatour.jpg|''[[commons:Synchiropus splendidus|Synchiropus splendidus]]'' (Mandarin fish)
File:Psetta maxima Luc Viatour.jpg|''[[commons:Psetta maxima|Psetta maxima]]'' (Turbot)
File:Australian blenny.jpg|''[[commons:Category:Ecsenius|Ecsenius axelrodi]]''
</gallery>

== Linking ==
To link to an uploaded file, e.g. Flag of Somalia.svg, use <code><nowiki>[[Media:Flag of Somalia.svg]]</nowiki></code> instead of <code><nowiki>[[Image:Flag of Somalia.svg]]</nowiki></code>, giving [//upload.wikimedia.org/wikipedia/commons/a/a0/Flag_of_Somalia.svg Media:Flag of Somalia.svg]; to link to the image description page, use <code><nowiki>[[:Image:Flag of Somalia.svg]]</nowiki></code>, giving [[:Image:Flag of Somalia.svg]] (the first colon is not displayed). In the case of '''non-image uploads''', e.g. office files (if allowed by the system), the keyword 'media' is used even though office documents are not typically classed as media, in the context of audio/video etc.

[[Help:Piped link|Piped link]]s work as usual. Existence detection, with a link to the edit page if the page does not exist, works as usual, but is applicable for the image ''page'', not the file.

[[Help:Interwiki linking|Interwiki linking]] style gives a link to the image page. If [[Help:Interwiki linking#Interlanguage_link_.28software_feature.29|interlanguage links]] would be applicable, use a colon in front of the language code, e,g. <code><nowiki>[[:de:Bild:Europa-Pos.png]]</nowiki></code>, to avoid the link being put in the margin. For embedding (if possible, see below) and linking to the file itself, use external link style.

External link syntax is as usual. However, if you want a link to an image proper on a page of a project that allows embedded external images, use a bracketed link syntax and not just the URL, to prevent embedding.

Below one can see the result of the three types of internal link style and external link style on this project. To test this in another project, copy the wikitext there. If applicable, check also the interlanguage links at the margin of the page. Note that some links go to the image description page, others just to the image itself.

*<code><nowiki>[[Image:Gelderland-Position.png]]</nowiki></code>[[Image:Gelderland-Position.png]]
*<code><nowiki>[[:Image:Gelderland-Position.png]]</nowiki></code>[[:Image:Gelderland-Position.png]]
*<code><nowiki>[[Media:Gelderland-Position.png]]</nowiki></code>[//upload.wikimedia.org/wikipedia/commons/4/4c/Gelderland-Position.png Media:Gelderland-Position.png]
*external, with label: <code><nowiki>[http://en.wikipedia.org/upload/d/d1/Gelderland-Position.png Gelderland]</nowiki></code> [http://en.wikipedia.org/upload/d/d1/Gelderland-Position.png Gelderland]
*external, footnote style: <code><nowiki>[http://en.wikipedia.org/upload/d/d1/Gelderland-Position.png]</nowiki></code> [http://en.wikipedia.org/upload/d/d1/Gelderland-Position.png]
*external, just the URL: <code><nowiki>http://en.wikipedia.org/upload/d/d1/Gelderland-Position.png</nowiki></code> http://en.wikipedia.org/upload/d/d1/Gelderland-Position.png

== Navigational maps ==
Navigational maps like [http://www.sdu.nl/staatscourant/gemeentes/gemprovin.htm#ZH] have map areas linked to pages. The html with <area> tags can not be put in the wikitext. However, there are the following possibilities:
* With [[mw:Extension:ImageMap|ImageMap]] (MW 1.9+) you can define areas in an image and link to wiki pages when clicking on that area.
* [[mw:Extension:EasyTimeline/syntax|EasyTimeline]] allows the creation of an image and a page embedding that image, with rectangular map areas defined by <area> tags in the html. The [[w:hyperlink|title of a link]] to a non-internal page is only the domain name, e.g. "en.wikipedia.org/..". The length and width of the rectangle can not be controlled, except that it depends on the length of the link label and its font size. In case of overlap of rectangles one has to look at the hoverbox or statusbar to avoid following the wrong link. In case of much overlap it may not be possible to use all links.
* One can divide an image in rectangles, like in these [[w:Template_talk:Game_of_Go_Position#No_comment_tags_needed|chess and go positions]], or superimpose an area with images (see above) and link each rectangle/image to the desired target by means of a redirect on the image page (provided that the target is internal).

'''See also:'''
* [[Help:Composite images]] - Allows superimposing a linked text onto an image.
* [[w:Downtown Ottawa#Map|Map of Downtown Ottawa]], [[w:Wellington Street]].

=== Example using ImageMap ===
Example:
<syntaxhighlight lang="tid">
<imagemap>
Image:Sudoku dot notation.png|300px
circle 320 315 165 [[w:1|1]]
circle 750 315 160 [[w:2|2]]
circle 1175 315 160 [[w:3|3]]
circle 320 750 160 [[w:4|4]]
circle 750 750 160 [[w:5|5]]
circle 1175 750 160 [[w:6|6]]
circle 320 1175 160 [[w:7|7]]
circle 750 1175 160 [[w:8|8]]
circle 1175 1175 160 [[w:9|9]]
default [[w:Number|Number]]
</imagemap>
</syntaxhighlight >
Output of this example:
<imagemap>
Image:Sudoku dot notation.png|300px
circle 320 315 165 [[w:1|1]]
circle 750 315 160 [[w:2|2]]
circle 1175 315 160 [[w:3|3]]
circle 320 750 160 [[w:4|4]]
circle 750 750 160 [[w:5|5]]
circle 1175 750 160 [[w:6|6]]
circle 320 1175 160 [[w:7|7]]
circle 750 1175 160 [[w:8|8]]
circle 1175 1175 160 [[w:9|9]]
default [[w:Number|Number]]
</imagemap>

'''See also:'''
* [[:en:Category:Wikipedia image maps]]
* [[:nl:Categorie:Wikipedia:Imagemap]]

===Examples using EasyTimeline===
'''Example 1'''

<pre>
<timeline>
ImageSize = width:400 height:150
PlotArea = width:400 height:150 left:0 bottom:0
TimeAxis = orientation:vertical # dummy, required
Period = from:0 till:1 # dummy, required
Define $s = fontsize:XL
TextData =
pos:(50,120) $s text:[http://en.wikipedia.org/wiki/Leiden|o Leiden]
pos:(150,110) $s text:[http://en.wikipedia.org/wiki/Alphen%20aan%20den%20Rijn|o Alphen aan den Rijn]
pos:(10,80) $s text:[http://en.wikipedia.org/wiki/The%20Hague|o The Hague]
pos:(50,40) $s text:[http://en.wikipedia.org/wiki/Rotterdam|o Rotterdam]
</timeline>
</pre>

gives

<timeline>
ImageSize = width:400 height:150
PlotArea = width:400 height:150 left:0 bottom:0
TimeAxis = orientation:vertical # dummy, required
Period = from:0 till:1 # dummy, required
Define $s = fontsize:XL
TextData =
pos:(50,120) $s text:[http://en.wikipedia.org/wiki/Leiden|o Leiden]
pos:(150,110) $s text:[http://en.wikipedia.org/wiki/Alphen%20aan%20den%20Rijn|o Alphen aan den Rijn]
pos:(10,80) $s text:[http://en.wikipedia.org/wiki/The%20Hague|o The Hague]
pos:(50,40) $s text:[http://en.wikipedia.org/wiki/Rotterdam|o Rotterdam]
</timeline>

'''Example 2'''

<pre>
<timeline>
Preset = TimeHorizontal_AutoPlaceBars_UnitYear
ImageSize = width:500 barincrement:50
Period = from:0 till:12
BarData=
bar:a
bar:b
bar:c
Define $s = fontsize:XL
BackgroundColors = canvas:white
PlotData=
width:20
shift:(45,-5)
bar:a from:3 till:4 $s text:[http://en.wikipedia.org/wiki/Leiden|Leiden]
bar:a from:6 till:7 $s text:[http://en.wikipedia.org/wiki/Alphen%20aan%20den%20Rijn|Alphen aan den Rijn]
bar:b from:1 till:2 $s text:[http://en.wikipedia.org/wiki/The%20Hague|The Hague]
bar:c from:3 till:4 $s text:[http://en.wikipedia.org/wiki/Rotterdam|Rotterdam]
</timeline>
</pre>

gives

<timeline>
Preset = TimeHorizontal_AutoPlaceBars_UnitYear
ImageSize = width:500 barincrement:50
Period = from:0 till:12
BarData=
bar:a
bar:b
bar:c
Define $s = fontsize:XL
BackgroundColors = canvas:white
PlotData=
width:20
shift:(45,-5)
bar:a from:3 till:4 $s text:[http://en.wikipedia.org/wiki/Leiden|Leiden]
bar:a from:6 till:7 $s text:[http://en.wikipedia.org/wiki/Alphen%20aan%20den%20Rijn|Alphen aan den Rijn]
bar:b from:1 till:2 $s text:[http://en.wikipedia.org/wiki/The%20Hague|The Hague]
bar:c from:3 till:4 $s text:[http://en.wikipedia.org/wiki/Rotterdam|Rotterdam]
</timeline>

=== Alternatives ===
Some attempts for other alternatives (note the hover boxes):

{|
|
| [[w:Leiden|o]]
|
|-
| [[w:The Hague|o]]
|
|-
|
| [[w:Rotterdam|o]]
|
|}

[[w:Ascii art|Ascii art]] map, with both the city outline and the label clickable:

[[w:Leiden|x]]
[[w:Leiden|xxx]] [[w:Leiden|Leiden]]
[[w:Leiden|x]]
[[w:The Hague|xx]]
[[w:The Hague|xxxx]] [[w:The Hague|The Hague]]
[[w:The Hague|xxx]]
[[w:Rotterdam|xx]]
[[w:Rotterdam|xxxxx]] [[w:Rotterdam|Rotterdam]]
[[w:Rotterdam|xxxx]]

When external images can be embedded:

{|
|
| [[w:Leiden|http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png]]
|
|-
| [[w:The Hague|http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png]]
|
|-
|
| [[w:Rotterdam|http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png]]
|
|}

The HTML titles are "w: Leiden", etc., the alt attribute is "Tst.png". [[w:Opera (browser)|Opera]] shows the title in the hoverbox, and also the url, [[w:Internet Explorer|IE]] only shows the titles.

With labels:

{|
! width="15px"|
| [[w:Leiden|http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png Leiden]]
|
|-
! colspan="2" align="left" | [[w:The Hague|http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png The Hague]]
|
|
|-
|
| [[w:Rotterdam|http://upload.wikimedia.org/wikipedia/commons/2/27/Tst.png Rotterdam]]
|
|}

See also [[m:Maps]], [[m:Maps' clickability]].

For using an image as a link to another document, see [[Help:Navigational image]]. For more possibilities, see [[en:Wikipedia:Extended image syntax]]. Also, the source of existing pages with images are useful as examples.

=== Template for showing links to files with appropriate icons ===
For a template to enable files to be shown as links with relevant icons, as well as a link to the file's wiki page, see [[MetaWikiPedia:User:CharlesC/Template for document links showing file icons|here]].

This is for wikis that support embedding external images - which is most personal, corporate and organizational wikis based on MediaWiki. Notable exceptions are Wikipedia and Meta. Because Meta can't render this template, here is an image of how the template appears: [[MetaWikiPedia:Image:PDF file example.png]]

== See also ==
* {{mlmw|Help:Images}}
* [[Help:Image page]]
* [[Non-free content]]
* {{mlw|Wikipedia:Extended image syntax}}
* {{mlm|Help:Composite images}}
* {{mlm|Collaborative images}}
* {{mlm|Parser testing|Pictures}}
* {{mlw|Wikipedia:Image use policy}}
* {{mlmw|Manual:Image Administration}}
** {{mlmw|Manual:$wgFileExtensions}}: setting the list of allowed/preferred file extentions
** {{mlmw|Manual:$wgAllowExternalImages}}: allowing embedding of external images
* {{mlmw|Manual:Configuring file uploads}}
* {{mlmw|Extension:WikiTeX}}:MediaWiki extension that can produce graphs of functions, various diagrams, etc
* {{mlm|Image pages}}
* {{mlm|Sample image copyright case}}

== External links ==
* Before publishing any images, keep in mind that they can contain [http://netzreport.googlepages.com/hidden_data_in_jpeg_files.html hidden data].
* [http://www.fractalus.com/info/png-jpeg.htm PNG, JPEG, and Fractals]
* [http://dotwhat.net/type/image-picture-files/ List of image file types]
* [http://www.fileinfo.com/filetypes/image Image File Types]
* [http://www.file-extensions.org/filetype/extension/name/bitmap-image-files Bitmap Image Files]
{{refs}}
{{H:f|langs=|enname=Images and other uploaded files}}

[[Category:Editor handbook]]

Latest revision as of 06:40, 8 May 2024