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.

StrategyWiki has a filesize limitation of ~2MB. We prefer to have the smallest file sizes possible to minimize hard drive disk space and bandwidth usage (this does not mean you need to go through our file library to optimize every png file; in fact, uploading new versions does not save us disk space because we retain old versions of the images). Please keep file sizes, and resolutions to a reasonable size. If the image will be used as a thumbnail, then it should be close to 250x250 pixels to match the default thumbnail resolution. E.g. see Mega Man X/Chill Penguin for an example of small file size, but high quality thumbnails.
 * File sizes and file extensions

We prefer png files because they can be compressed the lowest and render thumbnails well. Jpg are great for offering low file sizes for high resolution photos, and have no problems here. Gif files should only be used for animations, as StrategyWiki currently cannot render gif thumbnails.

To get the lowest file size before uploading:
 * 1) Use a photo editing tool like The GNU Image Manipulation Program (GIMP) to open your file or capture it with the print screen function.
 * 2) Please save (or 'export') your file as a png, then run it through a compression tool. There are many free websites available to do this (please Google something like "online png compression tool").
 * 3) Once you use a tool to compress the file, download your file and rename, or overwrite the original file. Or, upload the image to StrategyWiki from the directory/folder you downloaded it to.


 * How to upload
 * 1) Go to the upload page.
 * 2) Choose the file that you are about to upload.
 * 3) * Option 1: select "Source: filename" (the first circle button, it may already be selected). Use this to upload from your computer.
 * 4) ** To do this, click 'Choose File'. In the pop-up window find your file, then click 'Open'. The upload page will now show the path/filename and maybe a thumbnail on the right. 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.
 * 5) * Option 2: "'Source URL" - copy from another website. 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 also place the URL into 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. One helpful way to deal with this, if you are copying a filename from a gallery or thumbnail preview, is to put the filename in the summary field, then put the URL into place. Replacing the bad filename with a good one is just one step away - copy it from the summary field where you temporarily put it (please remove it from the summary before submitting).
 * 6) 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 destination filename should be something clear like 'War3RoC Sylvanas-base Map.png' (this sufficiently references the game WarCraft III: Reign of Chaos, the level it applies to, and the type of image it is). The extension, ".jpg", ".png", ".gif", etc., is case-sensitive and all lowercase is preferred. For details, see the image naming policy.
 * 7) 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.
 * 8) * Categories: below the summary, put any applicable file categories and the guide-specific category. For example, " ". Note that the word "images" in the guide-specific category is lowercase. To make these readable, and to follow Wikipedia's standards for where to put categories and how to display them, we prefer to put a line break (press enter) between the categories, so that only one category is on each line. This makes it easier to read them. Finally, please alphabetize the categories.

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. Use frames on images that don't need to be scaled down or have a caption. Use thumbnails to scale large images down to the default size (250px wide). If you use a thumbnail, put a caption! Remember, users can increase thumbnail size in their preferences.
 * ,,  : 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.
 * : This is a named parameter, meaning you must put in " " before the destination. Using this option navigates the browser to wherever you specify when the user clicks the image (ex. Super Mario Bros. cover.jpg ). Note that link brackets ( and ) are not used with this option. Normally, clicking the image takes you to the image's information page, so when using this option, it's helpful to make it obvious to readers that the image serves as a link. Currently, using this option negates any alternate text you may try to use, and the " " named parameter also currently doesn't work. This means you cannot modify the words in the tooltip that pops up when hovering over the image.
 * : Similar to  this is also a named parameter. This allows you to specify custom styles for the images. For example,   will allow upscaling pixel art images without blurring.   will size the image to fill the maximum width, and resize on smaller screens.

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

Special parameters (attributes and values)
A great, recommended way to use the gallery tag is to add additional parameters. For example, you can make the gallery images large and centered by using the 'modes' parameter set to 'packed' and the 'heights' parameter to force them to be large thumbnails. More details on parameters can be viewed here. Example:

Image maps
Image maps are welcome on StrategyWiki. They are images of which certain portions are clickable as links. You can use visual editors such as Image Map Generator to assist with drawing the shapes, although this free image map editor is more than sufficient.

Syntax description

 * The following comes from ImageMap at MediaWiki

The content of an

Will give the following image map. Hover mouse over the orange squares to see how the links work.

Attribution
Like the rest of the site, do not use attribution on your image; this information instead goes in the edit summary when uploading the image. Each image should have a specific purpose, such as demonstrating a particular task (such as finding the correct book to open a secret passage), illustrating a boss's various evolutions or movement patterns, or listing enemies so the player can learn to recognise and differentiate between them, etc.

Maps and other explanatory images are a priority. Featuring an overworld or screenshot map without any annotations is probably of little value. They should instead serve to either show all the major locations in the game world or else to highlight hidden goodies, enemies, etc. If the thing in question is not clearly visible, it may be useful to draw a circle or arrow indicating it. For the sake of simplicity do not write on the screenshot; the explanation should instead go in the picture caption or in the walkthrough body. For more involved steps, it may be necessary to label different parts "A" and "B" or similar.

Also, take care that images are high quality, clear, and easy to understand. Do not upload grainy pictures taken with video cameras. Either take a direct screenshot with a computer, or use a capture device of some sort.

Do not, under any circumstances, use images with watermarks on them. Additionally, images copyrighted by others cannot be used here. All images must be original or compatibly licensed with the CC-BY-SA license to avoid conflicts of intellectual property.

Other files
You can link to an external file using the same syntax used for linking to an external web page, however, it is highly recommended that you upload the images to StrategyWiki instead of hotlinking to other sites. 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. https://strategywiki.org/wiki/Main_Page) rather than the internal one (e.g. Main Page).