=IMAGE(source, [alt_text], [sizing], [height], [width])
=IMAGE(A2, B2, 3, 100, 200)
This example returns a pyramid with a height of 100, a width of 200, and a 3-D effect. The A2 and B2 references refer to the cell addresses of the image. This function will display the picture from the cell addresses given and adjust the size according to the width and height provided.
=IMAGE("http://example.com/image.jpg", 3, 100, 200)
This example returns an image from the web with a 3-D effect, a height of 100, and a width of 200. The URL provided will be used to display the image and the size of the image will be adjusted according to the width and height provided.
=IMAGE(A2, 3, 100, 200, 1)
This example returns an image from the cell address A2 with a 3-D effect, a height of 100, and a width of 200. The image will be displayed in its original size, as the fifth argument is set to 1.
=IMAGE(A2, B2, 3, 100, 200, 0)
This example returns an image from the cell addresses A2 and B2 with a 3-D effect, a height of 100, and a width of 200. The image will be displayed in an adjusted size, as the fifth argument is set to 0.
The IMAGE function allows users to insert images, spheres, and cylinders into cells in a worksheet. It works with various image formats and can be customized to specify alternate text and dimensions.