Help:Images

One significant feature of StrategyWiki guides is that you can add images, and place them anywhere you like. This page deals with the specifics of placing and uploading images on pages.

A picture is worth a thousand words. If you're trying to describe a route or puzzle solution that takes a lot of words to explain, it might be easier to draw it and refer to the map. Please use restraint when uploading images or other media to a game guide. While you are encouraged to use as many images as you feel necessary for describing elements of the game, each should be relevant, important, and include informative captions (where appropriate). An image should add to the informative value of a guide. Do not upload images for the sole purpose of making a guide "look cool".

Uploading
You can upload images from the upload page. The first part to uploading an image is to choose the file that you are about to upload. To do this click on "Browse" and select the wanted file. The default name provided will match the name of the file on your local computer, so it will need to be renamed if it doesn't conform to the image naming policy. If you are uploading from a source on the web, enter the full URL into the provided box. When copying an image from another website, you will have to enter the filename yourself. Remember to place the URL you copied from in the summary section so that others know where it was copied from (this helps others verify that the image complies with StrategyWiki's licensing). Alternatively, you can click on a red image link to be taken to the upload page with the named filled in from the link.

Follow these steps when uploading an image:
 * 1) Naming: properly name your image with the name of the guide to which it belongs or its abbreviation, followed by a one or two word description of the image, such as a character's name or a level's name. The extension, ".jpg", ".png", ".gif", etc., is case-sensitive and all lowercase is preferred.
 * 2) Summary: here you put a description of the image with a link to the guide on which it will be used. For example, "Box art from Super Mario Bros. ." If the image is from someone else, attribute them here, preferably with a URL.
 * 3) Categories: below the summary, put any applicable image categories and the guide-specific category. For example, " ". Note that the word "images" in the guide-specific category is lowercase.

Image Formats
As a general rule, "When in doubt, use PNG". The most common formats are listed here.
 * PNG has excellent lossless compression as well as multiple levels of transparency. Use PNG for images with transparency, smaller images and images with cleanly separated areas of color.
 * GIF has good compression, but not as good as PNG in most cases. It only supports a small palette (216/256 colors), and dithers anything outside that palette. Use GIF for images containing a few, clearly separate solid colors, or animated images (QuickTime animations or movies are good alternatives).
 * JPEG is good for pictures with thousands of colors, but its compression method corrupts simpler images with compression artifacts. Use JPEG for photos and complex images involving gradients, such as most current box artwork. Also, avoid saving your JPEG images with Microsoft Paint when possible, as it's been known to cause compatibility issues among certain clients.
 * SVG is a vector graphic image. Currently most browsers don't fully support the SVG format, which gives your computer commands to draw the picture rather than a bit for bit stream of each pixel used. These images are fantastic for scalability, as shrunken down or blown up they retain their original quality. The MediaWiki software is able to upload SVG images, which are then converted to PNG and displayed as such. Vector images are more complex to create, and it's unlikely you'll find any when searching, but eventually this format may replace all other ones on the Internet.
 * BMP is lossless but has no compression. Never use BMPs, use an alternate format instead.

Of course, there are many other image formats out there, but StrategyWiki generally only welcomes the first three mentioned above. When in doubt, consult a sysop or other knowledgeable individual.

Using uploaded files
To use an image or other file which has been uploaded to the wiki, use: If you add a pipe (|) and some text after the filename, the text will be used as alternative text for text-only browsers and for the tooltip when you hover the mouse of it:

If you don't want to display the image, you can link to the file's description page, by adding a colon: To bypass the description page and link directly to a file, use the "Media" pseudo-namespace: You can also make piped links if you want some other text to be used:

Advanced options
The full syntax for displaying an image is: Where options can be zero or more of the following, separated by pipes: The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.
 * ,, or  : Controls how the image is formatted. Thumbnailed images are typically smaller, and what should normally be used for in-guide images. Framed images are similar to thumbnailed images, but are not scaled down, while if this option is left out entirely, the image is displayed at full size without any border or embellishment.
 * ,,  : Controls the alignment of the image or thumbnail on the page. Thumbnail images default to floating to the right.
 * : Resizes the image to the given width in pixels. Note that use of this option is discouraged for thumbnailed images, as it means people can't specify the thumbnail size they want to view in their preferences.
 * : A short description of the image and what it shows. This will be displayed under the image for thumb and frame images.

Gallery of images
It's easy to make a gallery of thumbnails with the  tag. The syntax is:

Imagemaps
Image maps are welcome on StrategyWiki. They can be inserted as follows:

Standard image map notation is used. You can use visual editors such as Mapedit to assist with drawing the shapes.

See The Legend of Zelda: Ocarina of Time/Maps/Overworld for a good example of an image map, and see the extension's documentation for further information.

Syntax description
The contents of an Or with different text:

You can also embed images via their direct URLs. To do that, simply insert the URL: You can also use an external image as a link: Note that if you want an image to link to an internal page you will need to use the external form of the link (e.g. http://strategywiki.org/wiki/Main_Page) rather than the internal one (e.g. Main Page).