User:Begoon/Regenerate thumbnail/doc
Appearance
This is a documentation subpage for User:Begoon/Regenerate thumbnail. It may contain usage information, categories and other content that is not part of the original user template page. |
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 |