Google Sheets IMAGE Function: Syntax, Examples & Tips

The IMAGE function displays an image in a cell, allowing you to embed pictures from a URL or a local file within your Google Sheets.
Google Sheets
IMAGE(url, [mode], [height], [width])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is an IMAGE Function in Google Sheets?
  3. A Practical Example
  4. IMAGE Formula
  5. Result of the Formula
  6. Why Use IMAGE?
  7. Key Takeaways:
  8. Example use case

Parameters

url:
The URL of the image you want to display in the cell. This must be a valid link to an image file.

mode:
An optional parameter that specifies how the image should be displayed. It can take the following values: 1 (fit to cell), 2 (maintain aspect ratio), 3 (stretch to fill cell), or 4 (custom size).

height:
An optional parameter that defines the height of the image in pixels when using mode 4. If omitted, the height will be automatically determined based on the mode selected.

width:
An optional parameter that defines the width of the image in pixels when using mode 4. If omitted, the width will be automatically determined based on the mode selected.

What is an IMAGE Function in Google Sheets?

The IMAGE function in Google Sheets is a useful tool that allows you to insert and display images directly within your spreadsheet. This function can be particularly helpful for creating visually appealing reports, dashboards, or inventory lists where images of products or items are necessary. With the IMAGE function, you can easily link to images stored online or use local file paths.

In simpler terms, the IMAGE function enables you to show pictures in your Google Sheets, making your data more engaging and informative.

A Practical Example

Imagine you are managing a product catalog in Google Sheets, and you want to display images of each product alongside their details.

Product Catalog Table:

You want to display the images of each product in a separate column.

IMAGE Formula

To achieve this, you would use the IMAGE function as follows:

Google Sheets
=IMAGE(C2, 4, 100, 100)

In this formula:

  • C2 is the cell containing the URL of the image.
  • 4 specifies that the image should be resized to fit the specified dimensions.
  • 100 is the width in pixels.
  • 100 is the height in pixels.

Result of the Formula

When you apply the IMAGE formula to the Product Catalog Table, the output would look like this:

ProductIDProductNameImageURLProduct Image
101Widget Ahttps://example.com/widget_a.jpgWidget A
102Widget Bhttps://example.com/widget_b.jpgWidget B
103Widget Chttps://example.com/widget_c.jpgWidget C

In this case, each product's image will be displayed in the "Product Image" column.

Why Use IMAGE?

The IMAGE function is beneficial because it enhances the visual appeal of your spreadsheets. It allows you to integrate images seamlessly into your data, making it easier for users to identify products or items at a glance. This can be particularly useful in presentations, reports, or any scenario where visual representation is key.

Key Takeaways:

  • IMAGE: A Google Sheets function that allows you to insert and display images directly in your spreadsheet.
  • Versatile: Can link to images stored online or use local file paths.
  • Customization: Offers options to resize images to fit your layout.
  • Common Use Cases: Ideal for product catalogs, dashboards, and reports where visual data representation is necessary.

The IMAGE function is an essential tool for anyone looking to enhance their Google Sheets with visual elements, making data more engaging and easier to understand.

Happy spreadsheeting!

Example use case

You have a table with product names in Column A and their corresponding images in Column B. By using the IMAGE formula, you can display product images directly in your sheet, enhancing visual representation and making it easier to identify products at a glance.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.