Knowledge base
< All Topics


Types of images

This topic deals with both photographic images and videos but this topic refers to both as “images.” PDF files are documents – not images.

Only image files with the following file name extensions can be uploaded to the web site: jpeg, gif, png, and jpg.

Attaching images to Items or Soldiers

The WordPress system provides for the “attachment” of images to “posts.” (In the context of this web site, both “items” and “soldiers” are types of posts.) Attached images are displayed when the user displays all of the details of an “item” or “soldier.”

Images can be attached to posts in two ways:

    • A “featured image” will be displayed at the top of any screen that displays the whole post. If you have only one image, attach it as the “Featured image.” Only one featured image per post is possible.
    • If you have more than one image, select the most appropriate to be the featured image and attach the others as a gallery.

One image can be attached to several Items and several soldiers. There is no need to upload several versions of the same image to accomplish this. In fact, doing this just consumes expensive file storage and makes it more difficult to maintain the database.

Replacement images

Occasionally you may need to replace an existing image if a better quality image become available. You MUST follow the “Replace image” procedure described in the Replacing an Image article.


This type of content represents an object that belongs to the Museum. There are two scenarios that must be considered:

  1. Photos. In many cases, the item in the database represents a photo: There are two scenarios that must be considered:
    1. The museum has a hard copy of a photo. The photo must be scanned and the scanned image attached to the item as the “featured image. ” (Change “Image type” from “Hard copy only” to “Both hard copy and digital.”)
    2. The museum only has a digital image. In other words, the museum does NOT have a hard copy of the photo. This image must be attached as a featured image.
  2. Other items. Attach a picture of the item itself as the “featured image”. In some cases, we may want to show multiple images of a item to show it’s reverse or detail of its condition. These can be attached in the “Secondary images gallery.” See Adding an item for context.


The featured image should be used only for a photo of the soldier. Other photos (grave markers, etc.) should be attached in a gallery. However, if we do not have a photo of the soldier, using another photo (e.g. a headstone)  as the featured image may be appropriate.

Summary of steps involved

There are three steps involved in adding images to a post or portfolio item:

  1. Re-name the image file as instructed below.
  2. Upload the image file and link the image to the “Item” or “Soldier.”
  3. Edit the caption, etc. on the web site.

It is absolutely essential that you follow these instructions carefully. Eventually there will be thousands of images stored on this web site and, therefore, it is essential that administrators are able to easily locate and edit/delete images.

Naming image files

  1. If an image is to be associated with an ‘item’, then the name of the file must clearly describe the subject of the image since file names are used in searching for media items. Example: An oil painting or photo. Don’t just name the file “LCol Bent.jpg” Instead use something like: “LCol Bent – oil painting.jpg”
  2. If an image is to be associated with a ‘soldier’ then name the file with the name of the soldier (last, first) followed by any suitable text. If the person’s name is similar to others, include the soldier’s service number in the file name. Example: Name a photo of a headstone as follows: “Headstone Pte Bloggs JG headstone.jpg”
  3. Try not to use commas in image file names.

When you upload a media file, WordPress will automatically use the file name (less the file extension) as the “Title” of the file. You can edit this title once the file has been uploaded.

Uploading and linking images

With either the “Add a new item” or “Add soldier” screen open:

Featured image

Look for the Featured image box (usually at the top of the column on the right hand side of the screen. Click on “Set featured image.”

Secondary image gallery

Scroll down to the Secondary images gallery field. Click on the Add to gallery button (in the lower left corner of that field.) Click on the Upload files tab in the upper left corner. The only allowed file types are: jpeg, gif, png, and jpg.

All images

Now you can either:

  1. Drag the image(s)  you are uploading on to the screen or
  2. Click the Select files button and click on each of the file(s) you are uploading.
  3. Wait until the web site indicates that the uploading is complete.

Edit each image

Now that the images have been uploaded, you MUST add a caption and other information to each image. The caption will be shown below the image on the web site. (The system displays the CAPTION, not the title of each image.) Be sure to keep the caption short!

Featured image

To edit the featured images, click on the image itself. The “Edit media” screen will appear. On this screen you can:

  • Edit the title of the file (This will NOT change the file name.)
  • Add or edit the caption
  • Add some additional detail about the image

Secondary images

To edit images in the “Secondary image gallery” click on the thumbnail of the image you want to edit. A small screen will appear. On this screen you can:

  • Edit the title if the file (This will NOT change the file name.)
  • Add or edit the caption
  • Add some additional detail about the image


Table of Contents
Notify me of

0 Comments or suggestions
Inline Feedbacks
View all comments