Wikipedia:Autosizing images

The following are techniques to auto-size, or scale, any image ("thumb" or "frameless"), based on each user's default thumbnail size (220px for those not logged in or for those who have not changed it at Special:Preferences). Within an image link, the options are as follows:

  • thumb – displays the image as a framed thumbnail at the user's default size
  • frameless – displays the image as an unframed at the user's default size
  • upright – scales the image to approximately 75% of the user's default size (25% smaller)
  • upright=0.8 – scales the image to approximately 80% of the user's default size (20% smaller)
  • upright=1.2 – scales the image to approximately 120% of the user's default size (20% larger)
  • left – shifts the image to the left margin
  • right – shifts the image to the right margin
  • center – shifts the image to center between left/right margins

Each of the above sizing options can be used in any image link coded into a Wikipedia page, in the form [[File:Example.jpg|thumb|upright|left|Description]]. When a user views the page, the image will be resized based on the user's default image size setting.


From Wikipedia, the free encyclopedia · View on Wikipedia

Developed by Nelliwinne