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



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

Defined in: [src/canvas/functions/image-container-utility.ts:19](https://github.com/DRincs-Productions/pixi-vn/blob/11c55b5d212c6c7eaffb12776b3f83f4d38e1ede/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](/jsdoc/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 [()](/jsdoc/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`](/jsdoc/pixi-vn/index/interfaces/ImageContainerOptions)\<[`ImageSprite`](/jsdoc/pixi-vn/index/classes/ImageSprite)\<[`ImageSpriteMemory`](/jsdoc/pixi-vn/index/interfaces/ImageSpriteMemory)>>

The options of the container.

## Returns [#returns]

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

This function returns an [ImageContainer](/jsdoc/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()
```
