Editing
Help:Uploading images
From Deskthority Wiki
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!
The following guide documents the process of uploading images to the wiki and applying them to a page. Alternatively, as of 2018 it is possible to reuse contents of [[:commons:Main Page|Wikimedia Commons]]. This means that any multimedia file available there can be immediately used here as any local file, just referring to its name; there is no need to use external links or upload anything, and the relevant license data is also downloaded automatically. See the doc for the [[:mw:InstantCommons|InstantCommons feature on MediaWiki.org]] for more details. ==Image preparation== When uploading a whole set of images, the image upload process is easiest if you have all the images prepared in advance. Save all the images to the same folder/directory ready, with the correct filenames. The process of shooting, selecting, cropping, retouching and colour-correcting the images is by far the longest part of the process. [[File:Help--upload file--prepared images.png|centre]] Please try '''not to crop''' your images in an arbitrary fashion. The wiki is already chock-full of galleries with pictures using a chaotic mixture of sizes, which does not exactly make browsing those galleries a pleasant experience. There is little to be done when a gallery is put together sourcing pictures from different authors, who each used different cameras, studio setups and so on, but there is little excuse for providing 6 pictures using each different dimensions of a keyboard you photographed 5 minutes ago. Image filenames should start with the subject matter, followed by the specific feature or view, e.g. "Cherry MX Brown -- slider and spring.jpg". Correct naming leads to readable image URLs and readable image names on wiki pages. Leave spaces in the filename as spaces; MediaWiki will automatically convert these to and from underscores for the image page URL. '''Double-check''' the spelling of image filenames; wiki administrator privileges are required to "move" (rename) images afterwards. Image rename requests can be made in the forum or in the Deskthority IRC channel. ==Image upload== The image upload page is listed under ''Toolbox'' on the wiki sidebar: [[File:Help--upload file--toolbar link.png|centre]] To upload a batch of images, it's often easiest to simply middle-click this once for each image, producing one image upload tab for every image to be added to the wiki. For each image, click the ''Browse…'' button (or the equivalent in your browser) to select the file to upload. ===Descriptions=== Each image needs a description. There is a generic template specifically designed for this —[[Template:filedesc]], borrowed from Wikipedia— which provides a consistent visual layout for the description, and helps uploaders to remember what information to provide. This template is automatically used whenever you try to upload a new file to the wiki. This is how it looks by default: <nowiki>{{filedesc | description = | source = | date = | author = | licence = }}</nowiki> You just need to fill in the fields as appropriate. The following example shows how the fields are used: <nowiki>{{filedesc | description = [[Cherry MX]] — side view of the [[gold crosspoint]] contacts | source = Own work | date = 2013-10-31 | author = [[User:Daniel beardsmore|]] | licence = Public domain or nearest equivalent }}</nowiki> This results in: {{filedesc | description = [[Cherry MX]] — side view of the [[gold crosspoint]] contacts | source = Own work | date = 2013-10-31 | author = [[User:Daniel beardsmore|Daniel beardsmore]] | licence = Public domain or nearest equivalent }} If case you're the author, when citing your name you may wish to simply write "<code><nowiki>[[User:</nowiki></code>" followed by your wiki username (derived from, but sometimes different from your forum username), and finally "<code><nowiki>|]]</nowiki></code>". This creates a link to your personal page on the wiki; the "<kbd>|</kbd>" simply prevents "User:" from appearing as part of the link. Try to make the description as descriptive as you can; for pictures of keyboards for example, cite the keyboard shown in the picture, if the picture is not of the whole keyboard. For one thing, this makes the image re-usable for other editors for other pages. Date should be in YYYY-MM-DD format. Please note that this should be the date the picture was taken, '''NOT''' the date the picture is uploaded! Upload time is automatically logged and doesn't need to be specified here. If do you don't know the date the picture was taken, leave it blank. Additional information about the template can be found on its [http://deskthority.net/wiki/Template:Filedesc own page]. Once the basics of the template are filled in for the first image, it's very straightforward to amend the code for the remainder of the images. To frequently recall this template text —with your personalised information such as username and preferred licence pre-filled— one handy way to have easy access to it is a clipboard manager: [[File:Help--upload file--stash wiki code.png|centre]] ====Preview==== Note that '''there is no preview''' for image descriptions! You may wish to click Edit on another page, paste in your description, and preview the result there, and copy back the corrected code to the image upload page once done. ==Adding images to a page== Images are added to the page using <code><nowiki>[[File:]]</nowiki></code> syntax, or directly within an image gallery. Use of the file placement syntax is beyond the scope of this guide, but the following example image gallery will help with adding images to a page: <nowiki> ==Gallery== <gallery widths=250 heights=187> File:Cherry MX Green -- switches, 1.jpg | [[Cherry MX Green]] switches File:Cherry MX Green -- switches, 2.jpg | Cherry MX Green switches File:Cherry MX Green -- partially opened.jpg | Partially opened File:Cherry MX Green -- stem.jpg | Switch [[slider|stem]] File:Cherry MX Green -- opened, 2.jpg | Opened switch ... </gallery></nowiki> Each image is listed as "<code><nowiki>File:</nowiki></code>" followed by the filename, followed optionally by "<code>|</code>" and then the image description. The description may contain links to other pages. The extra spaces on either side of the "<code>|</code>" are not required, but they greatly help readability of the code.
Summary:
Please note that all contributions to Deskthority 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
Project:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Template used on this page:
Template:Filedesc
(
edit
)
Navigation menu
Page actions
Help page
Discussion
Read
Edit source
History
Page actions
Help page
Discussion
More
Tools
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Navigation
Main page
Deskthority forum
Support Deskthority
Search
Main categories
Guides
Keyboards
Keyboard switches
Keycaps
Keyboard modding
Pointing devices
Brands & companies
Group buys
Other topics
Wiki info & links
Recent changes
Random page
All pages
Deskthority wiki help
MediaWiki help
Tools
What links here
Related changes
Special pages
Page information