User:Blast/tutorial1

First off, one needs to know how to upload images.

Just go to Upload file on your left, below the search box, choose a file from your computer, and hit "upload file". Just be sure the picture isn't copyrighted!

The easiest way to avoid copyright violations (known as copyvio) is to release the picture into the public domain (note that it needs to be your own picture for you to do this) with PD-self entered into the summary box ( – and all).

Next, we'll work through how to add an image to a page. The syntax is below, and I know it looks complicated, but I'll break it apart.



So let's start at the beginning (always the best place). First, you need to put   at the end.


 * image_name: Put the image name directly after  [[Image: . It does not matter if you use spaces instead of underscores, or underscores instead of spaces. Each editor has their own preference. This is the actual name of the file, not the URL.




 * alignment: The alignment is really simple. Just insert a pipe character ( | ) after the image's name, and type left, right, or center. This will align the image to the specified location on the page.




 * px: If the image is a very large one, you'll need to scale it down. Add a pipe character after the alignment (or the image name, if you didn't use an alignment), and put in the pixel width you'd like (Wikiversity will automatically scale the image down to keep its aspect ratio), followed directly afterward by px.




 * thumb: Next, it might be a good idea to make the image a thumbnail (this only works if the image size that you put in above is smaller than the actual image size&mdash;so small images, like the one below, will appear at their normal size). This is done by adding another pipe character after the pixel width (or after the alignment, if you didn't put one), and simply typing thumb.



Lastly, when a viewer scrolls over the image, you may want them to see some special text. Add this last, after adding another pipe trick. This is also the thumbnail description, if you put in thumb in the previous section.



Example:



If you're confused (and don't worry if you are!), there's a place to play around with this here.

→