Adding picture files

From ropewiki.com
Jump to: navigation, search

To add a picture to a page using the Wiki system:

  • Edit the page (click the Edit tab near the upper right)
  • Click the small image icon at the top of the editing window
    • This will add the text [[File:Example.jpg]]
  • Replace Example.jpg with something unique to the page
    • Like, PineCreekFirstRappel.jpg
    • FirstRappel.jpg would be a poor name because there are probably lots of pages that would want to use that file name
  • Finish any other edits and save the page (Click Save page at the bottom left after entering a Summary of what you changed)
  • The page will now be displayed normally. Hopefully, you should see a red link with the file name you picked. If you see a picture instead, edit the page and pick a different file name.
  • Click on the red link and upload your picture (there is currently a 2MB size limit)
  • Now, when you go back to the page, you should see your picture

How to reference your image file name

Files uploaded from a canyon page have their filename prepended by the canyon name. So when directly referencing the file using `[[File:…` you need use the full name, not just the “short” name `{{pic…` uses.

Example:

  • This works:
    [[File:Burns_Gulch_BlackSwiftDisclaimer2.jpg|800px]]
  • This will not work:
    [[File:BlackSwiftDisclaimer2.jpg|800px]]


Changing the way pictures look on a page

There are lots of ways to change how the picture is displayed on the page. See the MediaWiki documentation for more information, but here are some basics

  • The simplest way to display a picture is
[[File:Example.jpg]]
  • If a picture is displayed too large, you can change its size by adding an explicit size (in pixels) at the end; this picture will be displayed 400 pixels wide:
[[File:Example.jpg|400px]]
  • To display multiple pictures next to each other (to compare high flow to normal flow, for instance), use a gallery (example)
<gallery widths=300px heights=300px>
File:Example1.jpg|Caption of example1
File:Example2.jpg|Caption of example2
</gallery>
  • To float an image to the right side of the page, just add a thumb tag (example)
[[File:Example.jpg|thumb]]
  • To add a caption to an image, just add it at the end, separated by a bar
[[File:Example.jpg|this is a caption for example]]
  • Many of these things can be combined at once
[[File:Example.jpg|thumb|400px|this is a caption for example]]

Credits

Information provided by automated processes. Authors are listed in chronological order.

In all habitats live animals and plants that deserve respect, please minimize impact on the environment and observe the local ethics. Canyoneering, Canyoning, Caving and other activities described in this site are inherently dangerous. Reliance on the information contained on this site is solely at your own risk. There is no warranty as to accuracy, timeliness or completeness of the information provided on this site. The site administrators and all the contributing authors expressly disclaim any and all liability for any loss or injury caused, in whole or in part, by its actions, omissions, or negligence in procuring, compiling or providing information through this site, including without limitation, liability with respect to any use of the information contained herein. If you notice any omission or mistakes, please contribute your knowledge (more information).

Retrieved from "https://ropewiki.com/index.php?title=Adding_picture_files&oldid=281701"