<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://hergipedia.oc.uni-kiel.de/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Hilfe%3AImages</id>
	<title>Hilfe:Images - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://hergipedia.oc.uni-kiel.de/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Hilfe%3AImages"/>
	<link rel="alternate" type="text/html" href="https://hergipedia.oc.uni-kiel.de/mediawiki/index.php?title=Hilfe:Images&amp;action=history"/>
	<updated>2026-04-05T19:38:57Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Hergipedia</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://hergipedia.oc.uni-kiel.de/mediawiki/index.php?title=Hilfe:Images&amp;diff=197&amp;oldid=prev</id>
		<title>Winkler: 1 Version</title>
		<link rel="alternate" type="text/html" href="https://hergipedia.oc.uni-kiel.de/mediawiki/index.php?title=Hilfe:Images&amp;diff=197&amp;oldid=prev"/>
		<updated>2009-02-26T07:17:50Z</updated>

		<summary type="html">&lt;p&gt;1 Version&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{PD Help Page}}&lt;br /&gt;
This page explains the &amp;#039;&amp;#039;&amp;#039;image&amp;#039;&amp;#039;&amp;#039; syntax when editing the wiki. Before using images in your page, your wiki must have file uploads enabled (see the {{mediawiki|Manual:Configuring_file_uploads|technical manual}} for details) and you have to [[Help:Managing files|upload a file]].&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
The full syntax for displaying an image is:&lt;br /&gt;
 [[{{ns:image}}:{filename}|{options}]]&lt;br /&gt;
Where options can be zero or more of the following, separated by pipes:&lt;br /&gt;
*&amp;lt;code&amp;gt;border&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;frame&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thumb&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;frameless&amp;lt;/code&amp;gt;: Controls how the image is formatted&lt;br /&gt;
*&amp;lt;code&amp;gt;left&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;center&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;none&amp;lt;/code&amp;gt;: Controls the alignment of the image within a text&lt;br /&gt;
*&amp;lt;code&amp;gt;baseline&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;sub&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;super&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;top&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;text-top&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;middle&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;bottom&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;text-bottom&amp;lt;/code&amp;gt;: Controls the vertical alignment of the image within a text&lt;br /&gt;
*&amp;lt;code&amp;gt;{width}px&amp;lt;/code&amp;gt;: Resizes the image to the given width in pixels&lt;br /&gt;
*&amp;lt;code&amp;gt;{width}x{height}px&amp;lt;/code&amp;gt;: Resizes the image to fit within the given width and height in pixels; it is possible to specify only the height by writing &amp;lt;code&amp;gt;x{height}px&amp;lt;/code&amp;gt;&lt;br /&gt;
* Special cases:&lt;br /&gt;
** &amp;lt;code&amp;gt;page=1&amp;lt;/code&amp;gt;: Displays the specified page when showing a djvu file&lt;br /&gt;
*&amp;lt;code&amp;gt;link={destination}&amp;lt;/code&amp;gt;: Allows to link to an arbitrary title, URL or just nowhere ([[rev:41727|1.14+]])&lt;br /&gt;
*&amp;lt;code&amp;gt;alt={alternative text}&amp;lt;/code&amp;gt;: For changing the alternative text (&amp;lt;code&amp;gt;alt=&amp;quot;&amp;quot;&amp;lt;/code&amp;gt;) of an image ([[rev:41837|1.14+]])&lt;br /&gt;
&lt;br /&gt;
The options can be given in any order. If the given options conflict each other, the latter is applied, except for the format options, where the options take the priority in the order of &amp;lt;code&amp;gt;frame&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;thumb&amp;lt;/code&amp;gt;, and &amp;lt;code&amp;gt;frameless&amp;lt;/code&amp;gt; and/or &amp;lt;code&amp;gt;border&amp;lt;/code&amp;gt;.  If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.&lt;br /&gt;
&lt;br /&gt;
== Format ==&lt;br /&gt;
The following table shows the effect of all available formats.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Description&lt;br /&gt;
!You type&lt;br /&gt;
!You get&lt;br /&gt;
{{Help:Images/frame|frame=|ex=no format specified}}&lt;br /&gt;
{{Help:Images/frame|frame=border|ex=border results in a very small gray border}}&lt;br /&gt;
{{Help:Images/frame|frame=frame}}&lt;br /&gt;
{{Help:Images/frame|frame=thumb}}&lt;br /&gt;
{{Help:Images/frame|frame=frameless|ex=frameless, like thumbnail, respect user preferences for image width but without border and no right float}}&lt;br /&gt;
{{Help:Images/frame|frame=frameless|2=border|ex=frameless and border}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
When the height of an image in thumbnail is bigger than its width and you find it too outstanding, you may try the option &amp;lt;code&amp;gt;upright&amp;lt;/code&amp;gt;, which will try to adjust its size to more desirable size.&lt;br /&gt;
&lt;br /&gt;
Note that by writing &amp;lt;code&amp;gt;thumb={filename}&amp;lt;/code&amp;gt;, you can use a different image for the thumbnail.&lt;br /&gt;
&lt;br /&gt;
== Alignment ==&lt;br /&gt;
Note that when using &amp;lt;code&amp;gt;frame&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;thumb&amp;lt;/code&amp;gt;, the default alignment will be &amp;lt;code&amp;gt;right&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Description&lt;br /&gt;
!You type&lt;br /&gt;
!You get&lt;br /&gt;
{{Help:Images/frame|frame=|ex=&amp;#039;&amp;#039;&amp;#039;no alignment specified&amp;#039;&amp;#039;&amp;#039;, or default alignment}}&lt;br /&gt;
{{Help:Images/frame|frame=none|ex=specify alignment as &amp;#039;&amp;#039;&amp;#039;none&amp;#039;&amp;#039;&amp;#039;}}&lt;br /&gt;
{{Help:Images/frame|frame=center}}&lt;br /&gt;
{{Help:Images/frame|frame=left}}&lt;br /&gt;
{{Help:Images/frame|frame=right}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=== Vertical alignment ===&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|baseline]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|sub]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|super]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|text-top]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|middle]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|bottom]]&lt;br /&gt;
 text text &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:image}}:{{mediawiki:image_sample}}|20px|text-bottom]]&lt;br /&gt;
&lt;br /&gt;
results in (the text is underlined to show the result more clearly)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;u&amp;gt;text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|baseline]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|sub]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|super]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|text-top]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|middle]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|bottom]]&lt;br /&gt;
text text [[{{ns:image}}:{{mediawiki:image_sample}}|20px|text-bottom]]&amp;lt;/u&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
== Size and Frame ==&lt;br /&gt;
Among different formats, the effect of the size parameter may be different, as shown below.&lt;br /&gt;
&lt;br /&gt;
* When the format is not specified, or only &amp;lt;code&amp;gt;border&amp;lt;/code&amp;gt;ed, the size can be both reduced and enlarged.&lt;br /&gt;
* A image with &amp;lt;code&amp;gt;frame&amp;lt;/code&amp;gt; always ignores the size specification.&lt;br /&gt;
* The size of an image with &amp;lt;code&amp;gt;thumb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;frameless&amp;lt;/code&amp;gt; can be reduced, but can not be enlarged beyond the original size of the image.&lt;br /&gt;
&lt;br /&gt;
For how it appears when its size is not specified, see [[#Format|Format]] section above.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Format!!Reduced!! Enlarged&lt;br /&gt;
{{Help:Images/size|frame=}}&lt;br /&gt;
{{Help:Images/size|frame=border}}&lt;br /&gt;
{{Help:Images/size|frame=frame}}&lt;br /&gt;
{{Help:Images/size|frame=thumb}}&lt;br /&gt;
{{Help:Images/size|frame=frameless}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Gallery of images ==&lt;br /&gt;
It&amp;#039;s easy to make a gallery of &amp;#039;&amp;#039;&amp;#039;thumbnails only&amp;#039;&amp;#039;&amp;#039;, not other images, with the &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;gallery&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; tag. The syntax is:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;gallery&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 {{ns:image}}:{filename}|{caption}&lt;br /&gt;
 {{ns:image}}:{filename}|{caption}&lt;br /&gt;
 {...}&lt;br /&gt;
 &amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the image code is not enclosed in brackets when enclosed in gallery tags. &lt;br /&gt;
&lt;br /&gt;
Captions are optional, and may contain wiki links or other formatting.&lt;br /&gt;
&lt;br /&gt;
for example:&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&amp;lt;gallery&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 {{ns:image}}:{{mediawiki:image_sample}}|Item 1&lt;br /&gt;
 {{ns:image}}:{{mediawiki:image_sample}}|a link to &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;Help:Contents]]&lt;br /&gt;
 {{ns:image}}:{{mediawiki:image_sample}}&lt;br /&gt;
 {{ns:image}}:{{mediawiki:image_sample}}&lt;br /&gt;
 {{ns:image}}:{{mediawiki:image_sample}}| &amp;lt;nowiki&amp;gt;&amp;#039;&amp;#039;italic caption&amp;#039;&amp;#039;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
 {{ns:image}}:{{mediawiki:image_sample}}|on page &amp;quot;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;PAGENAME}}&amp;quot;&lt;br /&gt;
 &amp;lt;/gallery&amp;gt;&lt;br /&gt;
is formatted as:&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:Example.jpg|Item 1&lt;br /&gt;
Image:Example.jpg|a link to [[Help:Contents]]&lt;br /&gt;
Image:Example.jpg&lt;br /&gt;
Image:Example.jpg&lt;br /&gt;
Image:Example.jpg|&amp;#039;&amp;#039;italic caption&amp;#039;&amp;#039;&lt;br /&gt;
Image:Example.jpg|on page &amp;quot;{{PAGENAME}}&amp;quot;&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
The gallery tag itself takes several additional parameters:&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;gallery {parameters}&amp;gt;&lt;br /&gt;
{images}&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;caption={caption}&amp;lt;/code&amp;gt;: sets a caption on the gallery.&lt;br /&gt;
* &amp;lt;code&amp;gt;widths={width}px&amp;lt;/code&amp;gt;: sets the widths of the images.&lt;br /&gt;
* &amp;lt;code&amp;gt;heights={heights}px&amp;lt;/code&amp;gt;: sets the (max) heights of the images.&lt;br /&gt;
* &amp;lt;code&amp;gt;perrow={integer}&amp;lt;/code&amp;gt;: sets the number of images per row.&lt;br /&gt;
&lt;br /&gt;
== Link to description page ==&lt;br /&gt;
If you put a colon (&amp;lt;code&amp;gt;:&amp;lt;/code&amp;gt;) before &amp;lt;code&amp;gt;{{ns:image}}:&amp;lt;/code&amp;gt;, the image will not be embedded and the link will lead to the description page of the file.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;:{{ns:image}}:{{mediawiki:image_sample}}]]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;:{{ns:image}}:{{mediawiki:image_sample}}|Sunflowers]]&lt;br /&gt;
&lt;br /&gt;
results in&lt;br /&gt;
&lt;br /&gt;
[[:{{ns:image}}:{{mediawiki:image_sample}}]]&lt;br /&gt;
[[:{{ns:image}}:{{mediawiki:image_sample}}|Sunflowers]]&lt;br /&gt;
&lt;br /&gt;
==Link directly to file==&lt;br /&gt;
You can use the pseudo-namespace “{{ns:media}}” to link directly to a file, bypassing the description page.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:media}}:{{mediawiki:image_sample}}]]&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;{{ns:media}}:{{mediawiki:image_sample}}|Sunflowers]]&lt;br /&gt;
&lt;br /&gt;
results in&lt;br /&gt;
&lt;br /&gt;
[[{{ns:media}}:{{mediawiki:image_sample}}]]&lt;br /&gt;
[[{{ns:media}}:{{mediawiki:image_sample}}|Sunflowers]]&lt;br /&gt;
&lt;br /&gt;
== Files at other websites ==&lt;br /&gt;
You can link to an external file using the same syntax used for linking to an external web page. &lt;br /&gt;
&amp;lt;pre&amp;gt;[http://url.for/some/image.png]&amp;lt;/pre&amp;gt;&lt;br /&gt;
Or with different text:&lt;br /&gt;
&amp;lt;pre&amp;gt;[http://url.for/some/image.png link text here]&amp;lt;/pre&amp;gt;&lt;br /&gt;
If it is enabled on your wiki (see {{mediawiki|Manual:$wgAllowExternalImages}}), you can also embed external images. To do that, simply insert the image&amp;#039;s url:&lt;br /&gt;
&amp;lt;pre&amp;gt;http://url.for/some/image.png&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* [[Help:Linked images|Linked images]]&lt;br /&gt;
&lt;br /&gt;
{{Languages}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Help|Images]]&lt;/div&gt;</summary>
		<author><name>Winkler</name></author>
	</entry>
</feed>