GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Main page
  • Welcome
  • Community portal
  • Village pump
  • Help center
  • Upload file
  • Recent changes
  • Latest files
  • Random file
  • Contact us
  • Special pages
  • Add links
  • Search
  • English

This view

  • Original page
  • New address

GeezerVison is showing commons.wikimedia.org — Commons:First steps/Sorting - Wikimedia Commons

< Commons:First steps

Shortcut: COM:FS/S

First steps
First steps tour
  • Understanding Commons
  • Creating an account
  • File uploading
  • License selection
Tips & tricks
  • A perfect upload
  • Sorting of files
  • Tools that make life easier
  • Useful media software
Third parties
  • Reuse of Commons’ media files

A short tutorial follows on how to sort and categorize images.

Categories and galleries

Other people need to find your file in order to use it to illustrate articles in other Wikimedia projects, so it is crucial to add your media files to specific categories. Every image must be in at least one classification category; otherwise your valuable media files won't get used as much as they could be.

If you wish, you may also add them to specific gallery articles on Commons. An example of a gallery page could be the image gallery of the planet Mars.

You can tell if a page is an article or a category by looking at its name. Pages without a prefix are article pages, pages with a "Category:" prefix are categories and pages with "File:" are File pages (images, sound or video). This concept (implemented with these prefixes) is called "namespaces". That way you can easily identify different content types by their namespace prefix.

Adding images to categories

Adding an image to a category is done like adding a Wikipedia article to a category. Simply place something like the following example code at the image page itself:

[[Category:love]]

Be as specific as possible. Don't add an image to an overcrowded root category. In order to find a right category for your image, the category tree function will help you a lot: just go to a general category, such as Category:Countries and then follow the subcategories until you find the most specific one that describes your image

Adding images to galleries

To add an image to a gallery, first upload the image, then navigate to the category page the gallery is in and click on "edit". In the edit box you will find the gallery's images listed between the opening and closing Gallery tags:

<gallery>
Image:Mars Valles Marineris.jpeg|Valles Marineris on Mars
Image:Mars Hubble.jpg|Mars seen by the Hubble Space Telescope, Realistic Colors
</gallery>

Which, on the saved page, looks like:

  • Valles Marineris on Mars
    Valles Marineris on Mars
  • Mars seen by the Hubble Space Telescope, Realistic Colors
    Mars seen by the Hubble Space Telescope, Realistic Colors

Add the Wiki-file-link for your image between the opening and closing gallery tags without the brackets, so that it's in the same format as the other image files:

Image:Your photo name.jpg|A brief description

Save the page and your image will appear as a thumbnail in the gallery. For sound and video files it works the same way except that the media files will display a replacement icon or (if JavaScript is enabled in your browser's settings) – a player – like in this example:

  • Wolfgang Amadeus Mozart - Don Giovanni - Overtüre

Creation categories

In addition to subject categories, it is helpful to add categories indicating software or equipment used in making the file, such as:

  • Category:Created with ... templates
  • Category:Photographs by camera

Further reading

Wikimedia Commons pages:

  • Commons:Categories

MediaWiki handbook:

  • Help:Category on Meta
  • Help:Images and other uploaded files on Meta
Retrieved from "https://commons.wikimedia.org/w/index.php?title=Commons:First_steps/Sorting&oldid=1096790650"
Categories:
  • Commons help
  • Commons categories
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.