User:Nersesar: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 16: Line 16:





[[Image:Single_iris.jpg|frame]]You can additional features to this picture; first, let us start with making a frame for it: <pre><nowiki>[[Image:Single_iris.jpg|frame]]</nowiki></pre>






























Now try out the following: <pre><nowiki>[[Image:Single_iris.jpg|frame|left]]</nowiki></pre>
[[Image:Single_iris.jpg|frame|left]]




Line 22: Line 56:




[[Image:Single_iris.jpg|frame]]You can additional features to this picture; first, let us start with making a frame for it: <pre><nowiki>[[Image:Single_iris.jpg|frame]]</nowiki></pre>




Line 53: Line 86:




Now try out the following: <pre><nowiki>[[Image:Single_iris.jpg|frame|left]]</nowiki></pre>
<div style="display.inline; width="200px"">[[Image:Single_iris.jpg|frame|left]]
</div>




Line 63: Line 93:
It is also possible to resize images with the following script
It is also possible to resize images with the following script
<pre><nowiki>[[Image:Single_iris.jpg|100 px]]</nowiki></pre>
<pre><nowiki>[[Image:Single_iris.jpg|100 px]]</nowiki></pre>
<div style="display:inline;">
<div style="display:inline;">[[Image:Single_iris.jpg|100 px]]</div>

[[Image:Single_iris.jpg|100 px]]</div>


Thumbnails are available as well; however, from this point on I will suggest to take the following general script: <pre><nowiki>[[Image:{name}.{extension}|thumb|{size}|{align}|{title}]]</nowiki></pre>
For example: <pre><nowiki>[[Image:Single_iris.jpg|thumb|220px|center|Ceasar Iris]]</nowiki></pre>

[[Image:Single_iris.jpg|thumb|90px|center|Ceasar Iris]]

It will good if you this style of writing the script, because otherwise it simply may not give you the desired result. For additional, information

Revision as of 18:26, 8 January 2007

Registering

First of all, in order to upload a file on OLPCWiki, you have to be logged in.

If you have an OLPCWiki account, then you can go to the login page, by clicking on log in/create account link on the upper right corner of any OLPCWiki webpage. Type your Username and Password, and click the Login button.

If you do not have an account, then go to the same login page. Click on the Create an Account link; it will redirect you to the registration page. Type your future Username, Password. Then retype your password. Typing e-mail address and real name is optional.* Then click Create an Account button. Now you have an OLPCWiki account and you can follow the directories given above to log in.

* On the registration page you may be also asked to write the answer to mathematical addition or substraction. Don't forget to do that as well !!!

Uploading a File

Once you are logged in, you can continue by clicking Upload file link, which is among the links on the left side of any OLPCWiki website. You will be redirected to the upload page. Click Browse... button and choose the image(or other supported file) you want to upload. Page will automatically put the original file name and extension on Destination filesource; however, you can change it to a different one. Just keep in mind that this the name you wrote in Destination filesource will be the name you will be using in the scripts, and not the name of the file in your computer.

Image Script

To post an image you type, for instance

[[Image:Single_iris.jpg]]

It will bring you the following picture: Single iris.jpg


Single iris.jpg

You can additional features to this picture; first, let us start with making a frame for it:

[[Image:Single_iris.jpg|frame]]
















Now try out the following:

[[Image:Single_iris.jpg|frame|left]]
Single iris.jpg




















You can also try out

[[Image:Single_iris.jpg|center]]

or

[[Image:Single_iris.jpg|frame|left]]

It is also possible to resize images with the following script

[[Image:Single_iris.jpg|100 px]]
Single iris.jpg


Thumbnails are available as well; however, from this point on I will suggest to take the following general script:

[[Image:{name}.{extension}|thumb|{size}|{align}|{title}]]

For example:

[[Image:Single_iris.jpg|thumb|220px|center|Ceasar Iris]]
Ceasar Iris

It will good if you this style of writing the script, because otherwise it simply may not give you the desired result. For additional, information