Community Central
Community Central
m (CzechOut moved page Help:Photos to Help:Adding images: This page is really about more than photos. Going back to the pre-2010 jargon, and the name that's actually on the video on this page. Pairs better with Help:Uploading files, too.)
Tags: Source edit Help
(37 intermediate revisions by 23 users not shown)
Line 1: Line 1:
  +
{{tocright}}
{{Needs editor update}}
 
  +
'''Adding images''' helps improve the quality of any given article, providing additional details and illustrating the subject - after all, a picture speaks a thousand words! - and can also improve a wiki [[Help:Search Engine Optimization|search engine ranking]].
<jwplayer media-id="MnB8xqur" />
 
'''Adding photos''' is a simple and great way to improve any article, and provide further detail and color.
 
   
  +
The process of adding images to an article is very similar to [[Help:Videos|adding videos]]. You can brush up on [[Help:Video embed tool|our video embed tool]] to complete your mastery of the tools of a wiki illustrator.
== Step-by-Step ==
 
* To start, you must [[Special:Signup|log in]] to your account, and then click the [[Help:Edit|Edit]] button on the page you would like to add a photo to.
 
* Once in edit mode, click on the photo upload button [[File:Photo_button.png|40px]] on the right rail of the editor toolbar.
 
::[[File:Edit_toolbar_image_upload2.png|thumb|left|600px]]
 
<br style="clear:both" />
 
* A pop-up will appear, which will allow you to upload a photo from your computer. You can also search for photos already added to the community by others .
 
::[[File:Addimages-alreadyuploaded2.png|thumb|left|400px]]
 
<br style="clear:both" />
 
   
  +
==What are the requirements for adding images?==
* Once you choose a photo to add, click upload.
 
  +
Both anonymous and registered users can add images to an article in source text editing mode. In visual editors, only registered users can.
* Next you will be able to adjust the size and placement of the photo. You can also provide a caption, which will display below the photo.
 
* If you would like to provide more details about the photo, including giving it a new name and providing [[Help:Image copyright tags|license information]], click on the more options link.
 
::[[File:Photo_description.png|thumb|left|400px]]
 
<br style="clear:both" />
 
   
  +
Images must exist on the wiki. If they are not available, then they need to be '''uploaded''' first. Trying to add a non-existent image will only create a <span style="color:red">red </span> link to a [[Help:File description page|file page]].
* After you have picked your options, click the Add photo button, and your photo will be added to the edit area.
 
* Photos can be modified at any time in edit mode. Simply hover over the image and choose "modify", and the same pop-up window will appear.
 
* Once you are done, click publish and your photo will be live on the page.
 
   
  +
Only [[Help:Logging in|registered, logged-in users]] can upload files. See [[Help:Uploading files|this page for details on uploading files]].
== Directly viewing Photos ==
 
There are 2 ways to view a photo more directly:
 
* By the lightbox.
 
* By the file page.
 
   
  +
==How to add an image in VisualEditor==
=== Lightbox ===
 
  +
When you're editing with the [[Help:VisualEditor|VisualEditor]], the process of adding an image to a page is through the top bar of the editor. See [[Help:Uploading files|this help page]].
{{Main Article|Help:Image Lightbox}}
 
The '''lightbox''' is a dialog that indicates a file in a closer look. There are many options for it, such as sharing it, viewing its filepage, seeing its full size, and more. The top bar contains details of who uploaded a file and in which article it is used in. There is a button at the bottom right corner which is the "bar pinning" button. Once clicked, it will make the photo no longer covered behind both bars. More images can be viewed by clicking one of the images at the bottom of the lightbox.
 
   
  +
:''Remember: Only logged-in users can add and edit images through the wiki's Visual Editor.''
[[File:Lightbox.png|thumb|center|650px|Viewing a photo from the lightbox]]
 
   
  +
* After logging in, click the [[Help:Editing|'''Edit''' or '''VisualEditor''']] button on the page you want to add images to.
=== File Page ===
 
  +
* Once you're in Visual Editing mode, click on the '''Media''' button located on the top bar. This will open the '''Media Settings''' dialogue, where you can '''search''' for existing files according to their filenames or '''upload''' your own.
A '''file page''' is a page that has more information about the file, including a description, which can be added by clicking the "Add a description" link, which articles it appears in, its file history and sometimes, its metadata. The file can also be downloaded by clicking the "(download)" link. ''For more info, see [[Help:Image description page]].''
 
  +
* Once you have the image you want to add, click on it. The dialogue will expand the image and give you a little more information on it. Click '''use this image''' to continue.
  +
* The next dialogue allows you to customize how the image will appear on the page by adding a caption or alternative text ('''General''' tab) and deciding on its size, alignment, and appearance ('''Advanced''' tab).
  +
* Once finished, click '''Insert''' and then '''Save''' the page to commit your changes.
   
  +
You can also edit images already present on the page by clicking on them and selecting the '''Edit''' button, which will open the same customization dialogue.
[[File:FilePage.png|thumb|center|650px|Viewing a photo from their file page]]
 
   
  +
== How to add an image in source editing mode?==
==== Bypassing the lightbox ====
 
  +
[[Help:Source editor|Source editing]] maintains the option of adding and customizing images through the top bar like in Visual Editor. But as its interface is fundamentally different from visual editors, you can skip the above process and directly add and edit with the underlying [[Help:Wikitext|wikitext]]. The image follows a specific format, enclosed in square brackets like a regular link.
To bypass the lightbox, simple hold "Ctrl" (for Windows users) or "Command" (for Mac users), then click on the photo. It will open a new tab, but in the new tab, there will be the file page. Alternatively, a script from the [[w:c:dev|Fandom Open Source Library]] called the "[[w:c:dev:NoImageLightbox|NoImageLightbox]]" disables access to the lightbox and will instead, lead you into the filepage. However, to add this script, you must have your [[Help:Preferences|JS enabled]].
 
   
  +
<code><nowiki>[[File:Wiki.png|220px|center|thumb|link=Help:Adding images|alt=This is an alt text|And this a description]]</nowiki></code>
== Next steps ==
 
   
  +
* Every image on the page starts with <code><nowiki>File:</nowiki></code> or <code><nowiki>Image:</nowiki></code>, followed by the exact name of the uploaded file. It is case-sensitive: Wiki.png and WIKI.png are considered different files.
* Learn how to [[Help:Wikitext#Image_formatting|use wikitext with your images]]
 
  +
* If only the link is specified, the image will be added as is: At the base resolution and inline. To customize its appearance, you can add arguments, separated by the vertical bar or pipe symbol, <code>|</code>. These are:
* Learn how to [[Help:Formatting|format a page]]
 
  +
** '''Size''', specified in pixels. For example, <code>220px</code> will display the image at 220 pixels of width.
* Learn how to [[Help:Videos|add a video]]
 
  +
** '''Alignment''' on the page. <code>left</code> and <code>right</code> will align the image to the left and right respectively, with text flowing around the image. <code>center</code> will align it to the middle of the page with no text flow around it.
* Learn how to [[Help:Links|add links]]
 
  +
** '''Appearance'''. Adding <code>thumb</code> will cause the image to display as a thumbnail at a default width if it's not specified otherwise, with the description displayed beneath. You can also choose <code>border</code> to display the image with a border around it.
* Learn how to [[Help:New_page|create a new page]]
 
  +
** '''Link''' will cause the image to open a specific page, rather than its file description. It is always preceded by <code>link=</code>.
* More information is on [[Help:Uploading files]]
 
  +
** '''Alternative text''', specified with <code>alt=</code>, which will show on mouseover or display if an image does not load.
  +
** '''Description''', which will display below the image if it's specified to appear as a thumbnail or on mouseover. Any text that is not recognized by the wiki as an argument will be interpreted as a description.
  +
  +
The wiki software does not require the arguments to be added in any specific order, although it's considered good practice to use a consistent pattern. For more details on adding images via wikitext, see [[Help:Wikitext#Image formatting|the image formatting section here]]. For linking ''to'' image description pages, [[Help:Links/Wikitext|see this page]].
  +
  +
== How to view the images at a higher resolution? ==
 
[[File:Image Lightbox.png|thumb|left|275px|Viewing a photo from the [[Help:Image lightbox|lightbox]]]]
  +
When placed on the page, images are typically presented at a much smaller resolution. You can inspect them by [[Help:File description page|going to the file page]] or by [[Help:Image lightbox|opening them in the lightbox]].
  +
  +
The lightbox opens by default when clicking on the image, with the link to the file description page displayed at the top of the lightbox.
  +
  +
If you want to bypass the lightbox entirely, simply hold "Ctrl" (for Windows users) or "Command" (for Mac users), then click on the photo. It will open a new tab, but you'll be on the file page in the new tab.
  +
 
<div style="clear:left;"> </div>
  +
 
== See also ==
 
* [[Help:Wikitext#Image formatting|Using wikitext with your images]]
  +
*[[Help:uploading files|Uploading files in detail]]
   
 
== Further help and feedback ==
 
== Further help and feedback ==
{{Help and feedback section}}[[ar:مساعدة:صور]]
+
{{Help and feedback section}}
  +
  +
[[ar:مساعدة:صور]]
  +
[[be:Даведка:Выявы]]
 
[[ca:Ajuda:Imatges]]
 
[[ca:Ajuda:Imatges]]
 
[[de:Hilfe:Bilder/RTE]]
 
[[de:Hilfe:Bilder/RTE]]
 
[[es:Ayuda:Imágenes]]
 
[[es:Ayuda:Imágenes]]
 
[[fi:Ohje:Kuvat]]
 
[[fi:Ohje:Kuvat]]
[[fr:Aide:Images]]
+
[[fr:Aide:Ajouter des images]]
  +
[[hi:सहायता:चित्र जोड़ना]]
 
[[it:Aiuto:Immagini]]
 
[[it:Aiuto:Immagini]]
 
[[ja:ヘルプ:画像]]
 
[[ja:ヘルプ:画像]]
Line 64: Line 72:
 
[[pt:Ajuda:Fotos]]
 
[[pt:Ajuda:Fotos]]
 
[[ru:Справка:Изображения]]
 
[[ru:Справка:Изображения]]
  +
[[tr:Yardım:Resim ekleme]]
 
[[uk:Довідка:Зображення]]
 
[[uk:Довідка:Зображення]]
 
[[vi:Trợ giúp:Hình ảnh]]
 
[[vi:Trợ giúp:Hình ảnh]]
[[zh:Help:圖]]
+
[[zh:Help:圖]]
 
[[Category:Help]]
 
[[Category:Help]]
 
[[Category:Editing]]
 
[[Category:Editing]]

Revision as of 13:41, 3 March 2021

Adding images helps improve the quality of any given article, providing additional details and illustrating the subject - after all, a picture speaks a thousand words! - and can also improve a wiki search engine ranking.

The process of adding images to an article is very similar to adding videos. You can brush up on our video embed tool to complete your mastery of the tools of a wiki illustrator.

What are the requirements for adding images?

Both anonymous and registered users can add images to an article in source text editing mode. In visual editors, only registered users can.

Images must exist on the wiki. If they are not available, then they need to be uploaded first. Trying to add a non-existent image will only create a red link to a file page.

Only registered, logged-in users can upload files. See this page for details on uploading files.

How to add an image in VisualEditor

When you're editing with the VisualEditor, the process of adding an image to a page is through the top bar of the editor. See this help page.

Remember: Only logged-in users can add and edit images through the wiki's Visual Editor.
  • After logging in, click the Edit or VisualEditor button on the page you want to add images to.
  • Once you're in Visual Editing mode, click on the Media button located on the top bar. This will open the Media Settings dialogue, where you can search for existing files according to their filenames or upload your own.
  • Once you have the image you want to add, click on it. The dialogue will expand the image and give you a little more information on it. Click use this image to continue.
  • The next dialogue allows you to customize how the image will appear on the page by adding a caption or alternative text (General tab) and deciding on its size, alignment, and appearance (Advanced tab).
  • Once finished, click Insert and then Save the page to commit your changes.

You can also edit images already present on the page by clicking on them and selecting the Edit button, which will open the same customization dialogue.

How to add an image in source editing mode?

Source editing maintains the option of adding and customizing images through the top bar like in Visual Editor. But as its interface is fundamentally different from visual editors, you can skip the above process and directly add and edit with the underlying wikitext. The image follows a specific format, enclosed in square brackets like a regular link.

[[File:Wiki.png|220px|center|thumb|link=Help:Adding images|alt=This is an alt text|And this a description]]

  • Every image on the page starts with File: or Image:, followed by the exact name of the uploaded file. It is case-sensitive: Wiki.png and WIKI.png are considered different files.
  • If only the link is specified, the image will be added as is: At the base resolution and inline. To customize its appearance, you can add arguments, separated by the vertical bar or pipe symbol, |. These are:
    • Size, specified in pixels. For example, 220px will display the image at 220 pixels of width.
    • Alignment on the page. left and right will align the image to the left and right respectively, with text flowing around the image. center will align it to the middle of the page with no text flow around it.
    • Appearance. Adding thumb will cause the image to display as a thumbnail at a default width if it's not specified otherwise, with the description displayed beneath. You can also choose border to display the image with a border around it.
    • Link will cause the image to open a specific page, rather than its file description. It is always preceded by link=.
    • Alternative text, specified with alt=, which will show on mouseover or display if an image does not load.
    • Description, which will display below the image if it's specified to appear as a thumbnail or on mouseover. Any text that is not recognized by the wiki as an argument will be interpreted as a description.

The wiki software does not require the arguments to be added in any specific order, although it's considered good practice to use a consistent pattern. For more details on adding images via wikitext, see the image formatting section here. For linking to image description pages, see this page.

How to view the images at a higher resolution?

Image Lightbox

Viewing a photo from the lightbox

When placed on the page, images are typically presented at a much smaller resolution. You can inspect them by going to the file page or by opening them in the lightbox.

The lightbox opens by default when clicking on the image, with the link to the file description page displayed at the top of the lightbox.

If you want to bypass the lightbox entirely, simply hold "Ctrl" (for Windows users) or "Command" (for Mac users), then click on the photo. It will open a new tab, but you'll be on the file page in the new tab.

 

See also

Further help and feedback