Help:Images
Author: Bugwood Network Staff
Adding images from BugwoodIDS
This command is a custom extension of MediaWiki that will talk to our image database and retrieve the image and the image citation and display it at the size you indicate. The full command to insert an image for BugwoodIDS is:
<bimage>IMAGE NUMBER|SIZE|ALIGNMENT|CAPTION</bimage>
Pipes (vertical lines) are used to seperate the options when they are used. The options are:
- IMAGE NUMBER
- This is the 7-digit number given to the image in BugwoodIDS. It is on the image tag in the lower-right corner as well as on the image detail page, search pages, adn anywhere else you find the image.
- SIZE
- Your choices for this are S, M, or L. Intuitavely, these stand for Small, Medium, and Large. The Small image is 192x128, the Medium is 384x256, and the Large is 768x512. When nothing is entered, the default is S.
- ALIGNMENT
- This is the horizontal alignment of the image. The choices are right or left. The default is right.
- CAPTION
- This is whatever text you would like to be displayed below the image. The image citation is automatically displayed for each image. The caption text you enter will appear below the image but above the image citation.
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.
Examples of images inserted from BugwoodIDS
| The minimum WikiText you can enter is: | |
| <bimage>1241418</bimage> | ![]() |
| Here are some other examples: | |
| <bimage>5292058|left</bimage> | ![]() |
| <bimage>5342042|m|right|The flower of a cucumber plant</bimage> | ![]() |
| <bimage>5304019|Left|L|The Colorado tarantula is a fierce hunting machine!</bimage> | ![]() |
Adding logos, personal images, and other images 'NOT' in BugwoodIDS
Adding images that are uploaded into the BugwoodWiki but are NOT a part of the Bugwood Image Database has not changed from the way MediaWiki usually handles images. The full syntax for displaying an image is:
[[Image:IMAGENAME|ALIGNMENT|WIDTH|FORMAT|CAPTION]]
Pipes (vertical lines) are used to seperate the options when they are used. The options are:
- IMAGENAME
- The image name with extension (.jpg, .png, .gif)
- ALIGNMENT
- This is the horizontal alignment of the image. The choices are right, left or center. The default is left.
- WIDTH
- Resizes the image to the given width in pixels. It is entered as
{width}px. The default is the original image size. - FORMAT
- Controls how the image is formatted. A frame or thumb is required to show a caption. Options are thumb and frame. Thumb will show a smaller version of the image and set the alignment to right. Frame just adds a box around the image. The default is no frame or border.
- CAPTION
- This is whatever text you would like to be displayed below the image.
The options can be given in any order. If a given option does not match any of the other possibilities, it is assumed to be the caption text. Caption text can contain wiki links or other formatting.
Examples of images added that are not in BugwoodIDS
Adding a gallery of images not in BugwoodIDS
Image galleries have fewer options to select. The command to show a gallery of images is:
<gallery>
Image:IMAGE1|CAPTION
Image:IMAGE2|CAPTION
</gallery>
Example of a non-BugwoodIDS image gallery
This section of WikiText...
<gallery>
Image:moorhead.jpg|Dr. Moorhead
Image:Dangerous-Exotic-Introducti.jpg|Information and sample flow for exotic pests
Image:douce.jpg|Dr. Douce
Image:chuck.jpg|This is our IT specialist
Image:LaForest.jpg|IPM and Forest Health Specialist
</gallery>
...gives the following gallery.
-
Dr. Moorhead
-
Information and sample flow for exotic pests
-
Dr. Douce
-
This is our IT specialist
-
IPM and Forest Health Specialist
Adding a gallery of images can be quite useful in illustrating a species, a concept, or to give a clearer idea of the subject being discussed. Our image galleries fall into two groups:
- Images hand selected by a user on any topic. (See Image Collections for details)
- Images selected by the Bugwood Network Staff to represent a species
Adding a gallery of user selected images
<bgallery collection=####/>
...where #### is the number of the collection. The collection number is only available to the user that created the collection unless they share it.
Adding a gallery of representative images selected for a particular species
There are 2 ways to call the gallery of images that Bugwood has selected.
Using the scientific name
<bsubjectgallery sciname='XXXX'/>
...where XXXX is the scientific name for the organism you want. The single quotes around the name are required.
Using the Bugwood Subject ID
<bsubjectgallery subject=####/>
...where #### is the subject number. The steps for finding the subject number are:
- Go to look-up tool for Subjects with Image Collections. It is Flash based so please be patient as it loads.
- Use the drop-down menu at the top to select "Name", "Genus", "Species", or "Variety" based on what you'd like to look the subject up by.
- Start typing in the blank and the table will start to sort.
- When you find what you are looking for copy the ID (or Valid ID if that exists).
- Copy the Subject number (####) and use it. If you notice that there are not many images for a subject and you have some to contribute, please contact the Bugwood Network Staff.
Examples
<bgallery collection=1864/> - User selected images for CAPS Calendar














<bsubjectgallery sciname='Megacopta cribraria'/> - Gallery for bean plataspid


















































<bsubjectgallery subject=2425/> - Gallery for Kudzu
























































