Editing
Template:Multiple image/doc
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===To match image heights=== Note: The following is unnecessary if all the images presented by the template have the same [[wikipedia:Aspect ratio (image)|aspect ratio]]; if so, simply set <code>width</code> accordingly. * Decide on a total width for all the images, say 320px * Set the total width using <code>total_width</code> {{multiple image | align = right | total_width = 320 | image1 = Donkey 1 arp 750px.jpg | alt1 = A donkey | caption1 = Rectangular image of a donkey, originally 536 pixels high. | image2 = Rainbow_trout.png | alt2 = A trout | caption2 = Square image of a trout, originally 300 pixels high. | footer = Both images have been rendered with the same height, and a total width of 320px }} <pre> {{multiple image | align = right | total_width = 320 | image1 = Donkey 1 arp 750px.jpg | alt1 = A donkey | caption1 = Rectangular image of a donkey, originally 536 pixels high. | image2 = Rainbow_trout.png | alt2 = A trout | caption2 = Square image of a trout, originally 300 pixels high. | footer = Both images have been rendered with the same height, and a total width of 320px }} </pre> {{clear}} The aspect ratio of each image is automatically retrieved from the File metadata. You can override the native width and height values by * Examining the individual image pages to obtain the full resolution. For example: ** [[:File:Donkey 1 arp 750px.jpg]] shows "Donkey_1_arp_750px.jpg (750 Γ 536 pixels, file size: 125 KB, MIME type: image/jpeg)" ** [[:File:Rainbow trout.png]] shows "Rainbow_trout.png (300 Γ 300 pixels, file size: 158 KB, MIME type: image/png)" * Specify the full width and height for each image, of the form: ** <code>width1</code> <code>height1</code> <code>width2</code> <code>height2</code>
Summary:
Please note that all contributions to Meta Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Meta Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Dark mode
Contributions
Create account
Log in
Namespaces
Template
Discussion
English
Views
Read
Edit source
View history
More
Purge
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information
Get shortened URL