TOP

Image Function

IMAGE() Description

The IMAGE function in Excel (LibreOffice Calc) allows you to insert an image directly into a table cell using a URL - both for a local file and for an image from the internet.

This improves data visualization by embedding relevant graphics, such as product photos, charts, or icons, next to the cell contents. Users can also control image size and alignment within the cell for a clearer and more customized layout.


Main Characteristics of the IMAGE Function

Syntax:

=IMAGE(source, destination, [sizing], [height], [width], [lock])

Parameters:

If only one of the height/width arguments is specified, the image aspect ratio will be preserved according to the provided argument.

Example of Usage

Example 1

The IMAGE() function is simple to use. You just need to enter the URL path to the image and the cell where the image should be placed, and Excel (Calc) will automatically insert the required image:

=IMAGE(source; destination; sizing)

We will have the following result:

Example of using the IMAGE() function
Example of using the IMAGE() function

In this example, the following values are used:

Example 2

Example of using the IMAGE() function
Example of using the IMAGE() function

In this example, the following values are used:

For Excel, this function is named IMAGE2 to avoid conflicts with the built-in IMAGE function.

Download extension

You can use the IMAGE() function by installing the YLC Utilities extension.

After that, this function will be available in all files opened in Excel (LibreOffice Calc).


This function is available in the following extensions: YLC LightYLC FunctionsYLC Utilities

The YLC Utilities menu in LO Calc

The YLC Utilities menu in LO Calc

The YLC Utilities menu in Excel

The YLC Utilities menu in Excel