Help:Images
From SA-MP Wiki
On this page will be explained how to place, and modify images in wiki articles.
Contents |
Uploading Images
Uploading images is really quite simple. In the toolbox on the left hand side of the page, click the 'Upload' button and select the file you wish to upload. If you wish you can also specify a summary for your image.
Note: It is useful to keep the size of your images as small as possible, to preserve web space and to reduce load times for end-users. If editing images in Photoshop, make sure that you select 'Save for Web & Devices' from the 'File' menu.
Inserting Images
In its most simplistic form, an image can be inserted with the following code: [[Image:imagename.jpg]]. Note that the extension of the image is case sensitive, as are most other things on this wiki. For example: [[Image:imagename.jpg]] is not the same as [[Image:imagename.JPG]]. If we'd use the sa-mp logo with this code [[Image:samplogo.gif]], it would simply ouput:
You can add a description, which will show when hovering over the image. This is done by inserting the pipe symbol '|' followed by your description. Example: [[Image:samplogo.gif|San Andreas: Multiplayer]]. That code would output:
Sometimes, it may look nicer if the image is placed into a frame. You can do this by adding the option 'thumb' to the image code. [[Image:samplogo.gif|thumb]]. The image is then automatically resized to a width of 200px, as well as being aligned to the far right of the page.
By adding more options, you can align the image back to the left side of the page, set its size and add a description. The order of all these options is of no importance: [[Image:samplogo.gif|thumb|left|152px|SA-MP Logo]].
Images in a table
This section is currently a Work In Progress. It is therefore possible that the content of this section is currently incomplete or incorrect. |
Images in a gallery
This section is currently a Work In Progress. It is therefore possible that the content of this section is currently incomplete or incorrect. |
Images as link
This section is currently a Work In Progress. It is therefore possible that the content of this section is currently incomplete or incorrect. |