Search results
Results From The WOW.Com Content Network
This template displays a gallery of images in an array, left-to-right in rows. Global parameters |width= and |height= control the size of all images in the gallery. The number of images per row is based upon the image width parameters and the width of the screen. The number of images per row can change when the user resizes the window.
If perrow is omitted, the width is fluid: one row comprises as many images as will fit across the available width of the user's display, wrapping automatically to as many additional lines as needed. Omitting perrow is now the recommended default. Prior to MediaWiki 1.17, the default was perrow=4. The default width and height are currently 120px.
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)"
Specifying a size does not just change the apparent image size using HTML; it actually generates a resized version of the image on the fly and links to it appropriately. This happens whether or not you specify the size in conjunction with "thumb". This means the server does all the work of changing the image size, not the web browser of the user.
The exact width is computed by starting with the default thumbnail width, multiplying it by 0.75, and rounding to the nearest multiple of 10. Normally the default width is 220px so an upright image is 170px wide; changing one's default width within the range from 120px to 400px results in upright image widths ranging from 90px to 300px.
The content from a template titled Template:foo can be added into a Wikipedia page by editing a page and typing {{foo}} into it. When then viewing the page, {{foo}} is automatically replaced by the content of the page "Template:foo". If the page "Template:foo" is later altered, all the pages with {{foo}} in them will change automatically.
Get AOL Mail for FREE! Manage your email like never before with travel, photo & document views. Personalize your inbox with themes & tabs. You've Got Mail!
Image using width upright=1.8, so that it is 80% wider than the Siberian Husky image above (which is at the default upright=1 width) Image using upright=0.5; a scaling factor less than 1 contracts the image width. An image's size is controlled by changing its width – after which software automatically adjusts height in proportion.