Help:Images (old)
Images help detail the subject and provide extra understanding of it, not to mention that they are more aesthetically pleasing than a plain text page.
Adding Images to the Wiki
Step One: Uploading Images
To upload an image to WiKirby, follow these steps:
- Click the "Upload file" link at the bottom of the page, or near the top of Special:RecentChanges. This links to Special:Upload.
- From this screen, click on "Browse..." to search your computer's files until you find the image you want to upload. Select it. (Note that only .gif, .jpg, .jpeg, and .png files are accepted.)
- Add a quick summary if necessary, then click "Upload file" to upload.
Sometimes you may run into an "upload warning" that tells you that your file should be no larger than 150 kilobytes (KB). If this occurs, unless the file really doesn't need to be that big, you can go ahead and click "Save file" anyway.
If you upload a new version of an existing image, sometimes the image won't update immediately and the previous version of the image will be displayed instead. In such case, please be patient and wait for the database to catch up and update the image. This can take anywhere from a few seconds to several minutes.
Step Two: Adding Templates
All images had to come from somewhere, right? We here at WiKirby have a set of Image Templates which are to be used to credit the creator and/or copyright holder of the image. All of the Image Templates can be found here. A full explanation of the correct use of these templates can be found here.
Step Three: Adding Images to a Page
Finally, the reason that you uploaded the image. Open the page that you want to add the image to and begin editing it. Find out where on the page you want to add the image, and in that location type the following:
[[File:filename.png]]
Which results in this:
Replace "filename.png" with whatever your image's filename is, and there you have it! But... that does not look too good on its own, does it?
Optional Image Syntax
There are several things you can add to an image's coding to manipulate it. Here is an example of an image using several of these:
[[File:filename.png|right|thumb|200px|This is an image example.]]
- File:filename.png is your image's name. Replace 'filename.png' with the uploaded image's name.
- right moves the image to the right side of the page. "left" could also be used. However, images automatically move to the right side of the page if the alignment is not stated, so right is redundant.
- thumb adds the box around the image you see quite often. Note that this could be replaced with frameless to achieve the same auto-resize effect without the frame being displayed.
- 200px resizes the image to 200 pixels - you may choose whatever number you deem necessary (within reason) for your placement of the image.
- This is an image example is an example of a caption: words that might be displayed below an image. Note that this only works if "thumb" is added; otherwise, the text is displayed as alt-text when one hovers their mouse over the image.
Any or all of these can be used, and they need not be in this order.
Types of Images
There are several image types accepted at WiKirby. These are .png, .jpg/.jpeg, .gif, and .svg (buggy). Below are explanations of each type of image, and how they should be presented on the wiki.
PNG
PNG, which stands for Portable Network Graphics, is an image format, and probably the most important to the wiki. This is because PNG files maintain very good quality, and transparency. PNGs can be animated, but it does not show in some browsers, making its predecessor, the GIF, not quite obsolete.
JPEG
JPEG, also known as JPG or Joint Photographic Experts Group, is an image format that most websites, including WiKirby, uses to display large photographic images. This is because JPEG can display large images without taking up too much file space. However, they do not support transparency, nor do they preserve the quality that a PNG can.
GIF
GIF (Graphics Interchange Format) is an image format that supports only a 256 color palette. However, it is the only type that can be universally animated, thus making it still an important image type. On WiKirby, they are used only for animated images and sprites (since they use a small color palette).
How images should be displayed
Images with transparent backgrounds should never be placed inside a frame. If a caption is required, the ImCap template should be used. Images with non-transparent backgrounds (generally JPEGs) should always have a frame.
Do
(transparent with caption, so ImCap template used) | |
(transparent with no caption, so frame prohibited) | |
(non-transparent background, so frame required) |
Don't
(transparent background, so frame prohibited) | |
(non-transparent background, so frame required) |