# Function: addImageCointainer() (/pixi-vn/index/functions/addImageCointainer)



\> **addImageCointainer**(`alias`, `imageUrls`, `options?`): [`ImageContainer`](/pixi-vn/index/classes/ImageContainer)

Defined in: [src/canvas/functions/image-container-utility.ts:19](https://github.com/DRincs-Productions/pixi-vn/blob/5bb5bb1f92e38998ea2f477b600168d8da3ece19/src/canvas/functions/image-container-utility.ts#L19)

Add a list of images in the container, after that, the images are added to the canvas.
Is the same that [showImageContainer](/pixi-vn/index/functions/showImageContainer), but the image is not shown.
If you want to show the container, then you need to use the function [()](/pixi-vn/index/classes/ImageSprite#load).

## Parameters [#parameters]

### alias [#alias]

`string`

is the unique alias of the container. You can use this alias to refer to this container

### imageUrls [#imageurls]

`string`\[]

is the url of the image. If you don't provide the url, then the alias is used as the url.

### options? [#options]

[`ImageContainerOptions`](/pixi-vn/index/interfaces/ImageContainerOptions)\<[`ImageSprite`](/pixi-vn/index/classes/ImageSprite)\<[`ImageSpriteMemory`](/pixi-vn/index/interfaces/ImageSpriteMemory)>>

The options of the container.

## Returns [#returns]

[`ImageContainer`](/pixi-vn/index/classes/ImageContainer)

This function returns an [ImageContainer](/pixi-vn/index/classes/ImageContainer) that you can use to manipulate the component.

## Example [#example]

```ts
let bunny = addImageContainer("bunny", ["https://pixijs.com/assets/bunny-body.png", "https://pixijs.com/assets/bunny-eyes.png"])
await bunny.load()
```
