Skip to main content

Image position and sizing: ‘Fit to content’ and ‘adjust image position’

Having a hard time matching image size and position? We got tools to help you.

When working with images in your leaflet, there are tools in Horizon that lets you either make the automatically take up the space it needs, or manually reposition it within a fixed area.

This is useful when:

  • you want the image to take up as much space as it needs

  • you only want to display a specific part of an image

  • you need to reposition an image without changing the surrounding layout

Fit to content

The Fit to content option makes the image take up all the space it needs automatically. Other elements on that page will reduced in size accordingly.

Here is an example of an image with too little space:

A screenshot of a video

AI-generated content may be incorrect.

To fit an image to to content, simply:

1. Right-click on the image.

2. Click fit to content.

A screenshot of a video

AI-generated content may be incorrect.

And then the images takes up the space it needs:

A screenshot of a video game

AI-generated content may be incorrect.

You can also see that, to make up for the full size of this image, the top banner (“BIG SCREEN TVs”) and the packshots below are slightly reduced in size.

Adjust image position

Sometimes you may have a fixed amount of space available for an image. In that case, using Fit to content may make the image too large.

You may also want to show only a specific section of an image. If that section of the image is cropped out, you can manually reposition it using Adjust image position.

Here is an example:

A screenshot of a web page

AI-generated content may be incorrect.

To display the right section of the image…

1. Right click the image.

2. Select ‘Adjust image position’ from the menu.

A screenshot of a computer

AI-generated content may be incorrect.

3. You can then see the full images, and what isn't part of the area is in grey. All you have to do then is simply drag the image within the frame to show the exact part you want.

In this case, we want to move the "SUPER DEAL" to be in view:

A screenshot of a web page

AI-generated content may be incorrect.

Once positioned correctly, simply click any other place in the leaflet.

And then the image is positioned correctly:

A screenshot of a web page

AI-generated content may be incorrect.

Did this answer your question?