CZ:Images: Difference between revisions
imported>Thomas Wright Sulcer (→Step 1 — Prepare the image on your computer: added image type; I've uploaded JPG images and they work here on CZ) |
imported>Boris Tsirelson (→Using Images: typo) |
||
Line 26: | Line 26: | ||
== Using Images == | == Using Images == | ||
{{Image|PepperThreeAmigosSerrano.jpg|right|250px|Example of image usage on the ''Citizendium''}} | {{Image|PepperThreeAmigosSerrano.jpg|right|250px|Example of image usage on the ''Citizendium''}} | ||
The code to add | The code to add an image to a Citizendium article is very simple, and can be added to the page by clicking the image button in the toolbar above the edit box.<br /> | ||
The code inserted will be as follows : | The code inserted will be as follows : | ||
<pre> | <pre> |
Revision as of 09:40, 13 May 2010
This document covers image usage on the Citizendium. It is a work in progress.
Uploading Images
Uploading images to the Citizendium is a fairly simple process if the Upload Wizard is used. The instructions below give an overview of the process.
Step 1 — Prepare the image on your computer
Images should be uploaded at the highest resolution possible whilst keeping them below the 2MB size limit. Copies of the images will be automatically created on the server at the appropriate sizes for use in Citizendium articles.
At present, the only types of image which can be uploaded to the Citizendium are PNG, GIF, JPG and JPEG. PNG should be used for diagrams, whilst JPEG should be used for photos etc. GIF should only be used for animated images.
SVG is a much better format for diagrams etc, but it is unfortunately not enabled on CZ at present.
Step 2 — Follow the instructions in the Upload Wizard
Go to the Upload Wizard by clicking on the "Upload File" link in the sidebar.
Follow the instructions to choose the type of licensing for the image which you are about to upload.
Step 3 — Fill in the upload form to upload the image
The last step of the Upload Wizard will take you to a form which must be completed.
The first two fields ask for the image to upload, which you must choose from your computer, and the name which the image should be given on the Citizendium. Please choose a sensible, short, and descriptive name.
The rest of the form is for image information - the name of the author, the source, etc. Please enter all the information which you know.
Depending upon which options you chose in the Upload Wizard, you may have to make a choice of licences at the bottom of the form. In these cases guidance will be given at the top of the form, and a preview of each licence will be shown when it is selected.
Step 4 — Credit line and Permission documentation
Most images should have credit lines. On the image page, at the bottom of the list of image details, is a link which can be clicked to create a credit line for that image.
Images which are used by permission from the copyright holder must have this permission documented. If you chose the correct option in the Upload Wizard, a link will be shown on the image page just below the image itself which you should click to create the permission page.
Using Images
The code to add an image to a Citizendium article is very simple, and can be added to the page by clicking the image button in the toolbar above the edit box.
The code inserted will be as follows :
{{Image|Example.jpg|right|250px|Image Caption}}
The first parameter, Example.jpg
, is the name of the image. You must replace "Example.jpg" with the name of the image which you want to use.
The second parameter is the image alignment - left
, right
, or center
(US spelling only).
The third is the image size - this can either be specified as a width, eg 250px
, or as the height and width of a box which the image should be constrained to, eg 100x250px
.
The final parameter is the caption, which will be displayed below the image. This can be left blank if no caption is wanted.
For example, the code {{Image|PepperThreeAmigosSerrano.jpg|right|250px|Example of image usage on the ''Citizendium''}}
results in the image to the right.