Skip to main content Skip to footer


Learning Centre

Image

The Image component lets you insert a single image with headings and captions. It includes the light box function, expanding the image to full size when clicked. If the light box is disabled you can add a hyperlink to the image instead. Use the image in place of the gallery when a heading is required.

The Image component is only available within the Pods component.

Add an Image component to a pod

To add an Image component to a Pod component in Govstack, you need to:

  1. Navigate to the page you'd like to add a Text/Image component to
  2. Add a Pod component
  3. This will open the 'Pods' slide-out panel
  4. To add an Image component to the pod, select the 'Add content' button next to the 'Pod items' field
  5. This will open the 'Add content' slide-out panel
  6. From here, select the 'Image' component

You can continue to add other content components to the Pod and configure the Pod settings so you're happy with the look and layout of the content.

Complete the Image details

From the 'Image' slide-out panel you can fill in the following details.

Image components can include a heading and subheading.

Add a main heading to the 'Heading' field and, if you'd like, a subheading to the 'subheading' field. Choose the size of your heading(s), from small (S), medium (M) or large (L). When you preview your page, you can see how the size you chose looks.

Before you can add an image to a Image component, you need to upload the image to the 'Media' area in the Govstack back office. 

To add an image to the Image component, you need to:

  1. Select the '+' icon next to the 'Image' field 
  2. This will open the 'Media' area in Govstack
  3. Select the folder that contains the image you'd like to add
  4. Choose the image you'd like to add
  5. Click the 'Select' button

An 'Image caption' will appear overlaid on the image on the web page. If you'd like to add an overlaid image caption, add it in the 'Image caption' field.

When an image is clicked it will open a 'Light window', a full sized view of the image in a pop-up window, including the light window captions. Toggle this option to 'no' to disable the zoom.

Disabling the light window will activate the 'Image link' field. Here you can add a link that will trigger when the image is clicked.

A 'Light window title' will appear above the image when a user opens it. If you'd like to give your image a title that users can only view when they open the image, add it in the 'Light window title' field.

Disabling the light window will activate the 'Image link' field. Here you can add a link that will trigger when the image is clicked.

Image component settings

Adjust the Image component settings to change the look and layout of your pods. To access the settings, select the 'Settings' tab located at the top of the 'Image' slide-out panel.

Review each of the image settings to learn more.

Design and layout

In the 'Image style' setting, you can choose which shape you want the image to be.

If you select 'Original', then your image will appear with its original ratios on the page.

You can also select one of the ratio options. The first number in each ratio represents the width while the second number represents the height. For example, a 2:1 image would be twice as wide as it is high.

If your image is cropped oddly or doesn't look the way you want it to after adjusting the image style, you may need to change its focal point so that it crops properly when changing the image ratio. Learn how to change the focal point of an image in the 'Media' tab in the Govstack main menu.

After you select an image style in the 'Image style' settings, your image will automatically be cropped to match your selection. However, you may prefer to have your image retain its original ratios while still having a different ratio display. To do this, turn on the 'Box pad' toggle to add padding around the image to match the image style you have selected.

Animation

You can add animation to the component by selecting the 'Animate' toggle. Once the 'Animate' toggle is selected, you'll have the option to customize the:

  • Animation style
  • Animation delay (seconds)
  • Animation duration (seconds)

From the 'Animation style' dropdown menu, select the type of animation you'd like to add to the accordion. There are a variety of different animation options in the following categories:

  • Attention Seekers
  • Bouncing Entrances
  • Fading Entrances
  • Flippers
  • Light Speed
  • Rotating Entrances
  • Sliding Entrances
  • Zoom Entrances
  • Specials

We recommend testing out a variety of animation styles to select the one you like the most. 

Please note

Animation styles can cause accessibility issues for some users visiting your website. For example, some users may experience motion sickness when viewing animated elements on your website.

Using the 'Animation delay' slider select the time in seconds that you'd like to delay the animation. 

Please note

Animation delay can cause accessibility issues for some users visiting your website. Certain animation styles and delays can combine to make your animated component invisible to screen readers. Please test your animations to make sure they are accessible.

You can select how long you'd like the animation to last on the component by using the 'Animation duration' slider. Select the number of seconds you'd like the animation to continue on the public website. 

Advanced

In the 'Name' field you can give a unique name to the component. This will make it easier to differentiate between components, both on your page as well as in your clipboard.

In the 'Custom classes' field, you can add any custom CSS classes you may have. Custom CSS classes can be found in the Design node under the 'CSS' tab in the backend of Govstack. 

If you'd like to add more than one custom class, you'll need to leave a space between each class. 

Please note

Depending on your Govstack plan, you may not be able to access the Design node in the backend. If you'd like to be able to add custom CSS and get access to the website design, contact your GHD Digital Account Executive.

We cannot guarantee that future updates to Govstack will not break or negatively impact custom CSS.

Turn on the 'Hide from website' toggle if you'd like to hide this component from the web page.

Preview and publish changes

Once you've added a Image component to your pod, make sure to preview and publish the page to complete the process.

Contact Us

GHD Digital Support
Primary +1-866-691-5528
Secondary +1-519-884-2476
Submit Online