12. Adding an Image Element
Community Description
Now that you have a section placed, let’s start taking a look at adding elements that are going to be essential in your web design. Starting with one of the most popular elements in the Vev library: the image element.
Adding an Image Element
Managing the Image Library
Image Styling
Adding an Image Element
There are few different ways you can add an image element to your canvas. The first way is to select the image icon from the top-bar navigation, or by using the keyboard shortcut [I]. Once selected, you can then click-and-drag the element onto the canvas to specify the size you want.
After adding the element onto the canvas, the content panel will switch to the image tab, prompting you to select an image for this new element. From this menu, you can upload images from your computer, select from the project’s existing library of images or search within the royalty-free image galleries: Unsplash, Pexels and Pixabay.
Another way you can add image elements is by clicking and dragging an image directly from the image library onto the canvas. You can also add multiple images at once by selecting the tickbox on each of your desired images. Once you have your selection, simply click-and-drag them onto the canvas.
At any time, if you want to change an image, simply double-click the image element on the canvas or alternatively, right-click and select Edit content. This will open the image tab within the content panel again to allow you to change your selection.
Managing the Image Library
Managing your project’s image library is an important part of streamlining your design process.
The image tab is split into two areas:
The first area is the Image library, this is an overview of all images that have been uploaded to this project. Images that are actively being used in the project will show an In use tag.
The second area is the Stock images library. This allows you to browse for royalty-free images from Unsplash, Pexels and Pixabay. You can filter the results of what’s displayed within the image panel by using the search function at the top of the panel. When adding an image from a stock library to your canvas, it will automatically upload to the image library area.
Deleting Images
To remove images from the image library, hover over an image card and select the checkbox, then select the red bin icon to remove it from the image library. You can also easily bulk delete several images by ticking multiple image cards before pressing the delete button.
The broom icon is a helpful tool that removes all unused assets from your image library. So only images that are actively being used on the project’s canvas will remain.
Managing Images
You can view and change the information for an image by selecting the i tooltip shown when hovering on the relevant image card. From here you will see options for Name and Description.
The Name is purely for use within the editor to allow you to manage your assets better. Giving you a visual identifier to an image as well as allowing it to be easier to find from using the search function within the image library panel.
The Description is where you can assign the alt text of the image for accessibility. Accessibility is an important part of web design to ensure that your project is also compliant to accessibility standards and allows your design to be accessible to a wider audience.
Image Styling
Now you know your way around the image library, let’s review some of the styling options relevant to the image element:
Like all elements and sections there are also a variety of different styling options to play with, such as border, border-radius, effects and more.
To crop an image and change the focus point, you will need to use the Object fit option within the style panel on the right-hand side. We can see these contextual styling properties when the element is selected.
From this menu, you will be able to crop your image and select a focus point. You can also select the fit behavior (such as cover, contain or stretch) as well as flip the image horizontally or vertically. As this is an option within the style panel, you can also adjust this per-breakpoint if required.
→ Next up, let’s explore: Adding a Video Element