# 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:22](https://github.com/DRincs-Productions/pixi-vn/blob/f55707110b4a4bd56fb1c8547285a9aea26fda31/src/canvas/functions/image-container-utility.ts#L22)

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
Assets.add({ alias: "bunny-body", src: "https://pixijs.com/assets/bunny-body.png" });
Assets.add({ alias: "bunny-eyes", src: "https://pixijs.com/assets/bunny-eyes.png" });

const bunny = addImageCointainer("bunny", ["bunny-body", "bunny-eyes"]);
await bunny.load();
```
