Commons:Reusing content outside Wikimedia/technical

From Wikimedia Commons, the free media repository
Jump to: navigation, search

There are three ways to reuse content outside Wikimedia:

  1. downloading the file from Wikimedia Commons, and then either uploading it to a website or using it in print work.
  2. using the file directly on Wikimedia Commons by "hotlinking" (linking directly to the image URL)
  3. using the file directly on Wikimedia Commons via "InstantCommons" (a setting within MediaWiki, available on MediaWiki-based websites).

In general, it is recommended to download files for reuse.

Downloading

Wikimedia Commons - Stockphoto gadget.png
  • Basic method: On each image's file description page, there is a link to the full resolution version. Right-click this link and choose "Save as..." to download the full resolution file.

Reuse assistance tool

A tool is available to help you reuse files outside Wikimedia Commons, including downloading. The tool requires

  • a browser other than Internet Explorer (eg Firefox, Chrome, Opera)
  • Javascript enabled
  • If you're logged in, Vector or Monobook skin enabled in your Wikimedia Commons user preferences. (Vector is the standard skin - if you've not changed this, your skin is Vector.)

The tool creates buttons above an image (if you're logged in), or to the top right (if not). For details see Help:Gadget-Stockphoto.

Hotlinking

Shortcut
COM:HOTLINK

Hotlinking is allowed from Wikimedia servers, but not generally recommended: this is because anyone could change, vandalise, rename or delete a hotlinked image. On your own server, you will have control over what is served.

If you do hotlink, then it is still necessary to follow the licensing conditions (see Commons:Reusing content outside Wikimedia) as you would for copies on your own server, including (if the license requires it) providing attribution as specified by the content creator. Ignoring the licenses could be a copyright infringement, regardless of whether you hotlink or use a copy of the file from your own server.

Wikimedia generally does not allow 'hot spider' services, where each time someone performs a search on their site, the query is redirected to our site. Outside reusers should either copy the content one item at a time or contact the Foundation regarding a live feed (which can be arranged as a paid service).

How to hotlink: on each image's file description page, there is a link to the full resolution version. Click this link (it will start with upload.wikimedia.org), then copy the URL and use it on your webpage.

InstantCommons

Since MediaWiki revision 1.13.0 you can directly embed media from Wikimedia Commons into your own MediaWiki-based wiki. This method has numerous advantages over hotlinking, and from MediaWiki version 1.16 it can be switched on by setting a single configuration variable (see mw:InstantCommons#Configuration for setup details).

  • Once InstantCommons is implemented on your wiki, the File: page for an image will pull the full image information from Commons, just as on a Wikimedia project.
  • Just as on Wikimedia projects, the standard link to the file description page (clicking an image takes you to the file description page) is considered to meet any applicable licensing requirements of providing attribution and a link to the license.
    • Note: it is possible to turn off this standard link to the file description page; doing this on files which are not in the public domain will usually break the licensing requirements (of course you can still provide full attribution and license details on the webpage by other means).

Remember that as with hotlinking, when using a Wikimedia Commons image via InstantCommons, any changes (including improvements, vandalism and deletion) will directly affect your website. Consider the pros and cons of this for your intended use.