Insert Images into Cells with the IMAGE Function in Google Sheets

Use the IMAGE formula to display an online image directly inside a cell. Control how it fits using the optional sizing parameter.

What the video covers

Show how to add an image to a single cell using the IMAGE function and how to change its sizing behavior.

Watch the video on YouTube

Step-by-step instructions

  1. Select the target cell
    Click the cell where you want the image to appear.
  2. Enter the IMAGE formula
    Type =IMAGE("image_url") replacing image_url with the full link to the image, keeping the URL inside quotes, then press Enter.
  3. Use the sizing parameter (optional)
    Add a second parameter to control sizing: 1 for fit to cell (default), 2 to stretch to fill the cell, 3 to use the image's original size, or 4 to specify custom height and width.
  4. Specify custom dimensions (optional)
    When using mode 4, add height and width as the third and fourth parameters: =IMAGE("url",4,height,width). Enter numeric pixel values for height and width.
  5. Adjust row/column if needed
    Resize the row height or column width to change how the image displays when using modes that depend on cell size (modes 1 and 2).

Watch the video

Video thumbnail for Insert Images into Cells with the IMAGE Function in Google Sheets Play tutorial

Watch on YouTube

Why it matters

Embedding images in cells keeps visuals aligned with rows/columns and makes dashboards, catalogs, and product lists easier to scan without separate attachments.

Check your result

The image appears inside the chosen cell. If you resize the row or column, the image behavior matches the mode you set (default, stretch, or custom).

Troubleshooting

If nothing appears, confirm the URL points directly to an image file (jpg, png, gif). Ensure the image is publicly accessible; private or blocked links won’t load. For unexpected sizing, try a different mode or supply explicit height and width. If a large image slows the sheet, use a smaller image URL or host a reduced-size copy.