Jump to content

User:Begoon/Regenerate thumbnail/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Creates an external link which runs thumb.php to regenerate an image thumbnail at a specified size. Syntax:

{{User:Begoon/Regenerate_thumbnail|Image file name|pixels}}

where:

  • Image file name - the name of an image file for which to generate a thumbnail. Do not include the File: prefix.
  • pixels - pixel size of the thumbnail to regenerate.

Edit the template call onto a scratch page (such as a user sandbox page), and click the resulting link to regenerate and redisplay the thumbnail. If the image file name contains funny characters, precede it with a 1=.

Examples

[edit]
Type this To get this
{{User:Begoon/Regenerate_thumbnail|1=California wind resource map 50m 800.jpg|2=79}} https://commons.wikimedia.org/w/thumb.php?f=California+wind+resource+map+50m+800.jpg&w=79