CAZypedia needs your help! We have many unassigned GH, PL, CE, AA, GT, and CBM pages in need of Authors and Responsible Curators.
Scientists at all career stages, including students, are welcome to contribute to CAZypedia. Read more here, and in the 10th anniversary article in Glycobiology.
New to the CAZy classification? Read this first.
*
Consider attending the 15th Carbohydrate Bioengineering Meeting in Ghent, 5-8 May 2024.

Help:Images

From CAZypedia
Revision as of 10:42, 13 August 2013 by Harry Brumer (talk | contribs)
Jump to navigation Jump to search

CAZypedia generally contains two types of image placements in pages:

  • Simple pictures without borders or frames, as found on CAZypedia Contributor pages, and
  • Figures with legends, as found on various content pages, e.g. GH Family pages.

This page describes how to add an image to a page to maintain a constant "look and feel" across CAZypedia.

Uploading an image

The first step in adding an image to a CAZypedia page is to upload that image to the wiki. This is done through the Special:Upload page, which can be accessed from any CAZypedia page via the "Upload file" link in the "Toolbox" section of the left menu.

  1. Go to the Special:Upload page.
  2. Click the "Browse" button to locate the image file on your computer.
  3. Change the "Destination filename" to something sensible, if it is not already.
  4. Adding a summary can be helpful (image source, content, author, etc. Do not upload copyrighted material without permission.).
  5. Click the "Upload file" button at the bottom of the page.
  6. Make a note of your uploaded image's filename, as you will need this exact name to add the image to a page.

Notes:

  • If you forget the filename, uploaded files can be found via one of these two pages:
  • Images can easily be rescaled in CAZypedia itself (see below), so it is not necessary to produce images to an exact size. However, it is good to have originals no more than 2x larger than the desire size on the page.
  • PNG format is slightly preferred to JPEG in most cases.

Adding an image to a page

Contributor (User) pages

JH.jpg

User pages contain pictures of without frames, borders, or other embellishments. To insert such an image, as in the example to the right:

  1. Copy and paste this wiki code to your page: [[Image:filename.png|200px|right]]
  2. Change "filename.png" to the filename of the image you wish to include.

Notes:

  • In general, the wiki code should be placed as the first item in the page.
  • "200px" specifies the image width in pixels. This is CAZypedia's standard width for. Only in exceptional cases should this be altered.
  • "right" places the image on the right side of the page. Again, this a CAZypedia standard.

Content pages

Content pages contain figures with borders and legends. To insert such an image:

  1. Copy and paste this wiki code to your page: [[Image:filename.png|thumb|400px|right|'''Figure X.''' Figure legend.]]
  2. Change "filename.png" to the filename of the image you wish to include.
  3. Change or delete the figure number and adjust the figure legend.
Figure 1. Cartoon structure and transparent surface representation of "GH61A" from Thermoascus aurantiacus (PDB ID 2YET [1]). A bound copper atom at the active site is shown as a sphere on the top flat surface where substrate very likely binds. To the right is a view of the active site showing the axially elongated tetragonal coordination geometry of the Cu(II) ion. The "histidine brace" is comprised of the N-terminal amine and imidazole of the very highly conserved N-terminal methyl-histidine along with the imidazole of a second highhly conserved histidine. The fourth equatorial position is occupied by a water molecule H-bonded to a highly conserved glutamine that is important for function [2]. A somewhat distant phenolic oxygen of a very highly conserved tyrosine occupies one of the axial positions, and an additional water molecule occupies the other. In other AA9 structures the axial water position is either vacant or occupied by what appears to be a superoxide or peroxide and may thus be the site of oxygen binding [3].

Notes:

  • In general, the wiki code should be placed immediately before the first paragraph of the corresponding section in the text.
  • "thumb" specifies that the image should be rendered as a thumbnail,
  • "400px" specifies the image width in pixels. In general, this default value is a useful standard that can be adjusted in limited cases, e.g. for wide horizontal figures. In general, is is best to keep figures less than 1/3 of a page wide at normal screen resolutions.
  • "right" places the image on the right side of the page. This a CAZypedia standard.
  • Figure legends can be very sophisticated, including links to internal and external pages, as well as references, as shown in the example of Figure 1 on the right. You may open this Help page for editing to view and/or copy the wiki code used for this example.

  1. Quinlan RJ, Sweeney MD, Lo Leggio L, Otten H, Poulsen JC, Johansen KS, Krogh KB, Jørgensen CI, Tovborg M, Anthonsen A, Tryfona T, Walter CP, Dupree P, Xu F, Davies GJ, and Walton PH. (2011). Insights into the oxidative degradation of cellulose by a copper metalloenzyme that exploits biomass components. Proc Natl Acad Sci U S A. 2011;108(37):15079-84. DOI:10.1073/pnas.1105776108 | PubMed ID:21876164 [Quinlan2011]
  2. Harris PV, Welner D, McFarland KC, Re E, Navarro Poulsen JC, Brown K, Salbo R, Ding H, Vlasenko E, Merino S, Xu F, Cherry J, Larsen S, and Lo Leggio L. (2010). Stimulation of lignocellulosic biomass hydrolysis by proteins of glycoside hydrolase family 61: structure and function of a large, enigmatic family. Biochemistry. 2010;49(15):3305-16. DOI:10.1021/bi100009p | PubMed ID:20230050 [Harris2010]

All Medline abstracts: PubMed