# Laying out some imges

**URL:** https://forum.kirupa.com/t/laying-out-some-imges/285310
**Category:** Uncategorized
**Created:** [March 30, 2009, 11:52am UTC](https://forum.kirupa.com/t/laying-out-some-imges/285310 "2009-03-30T11:52:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![RossKidd](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@RossKidd](https://forum.kirupa.com/u/RossKidd)
#### Post date: [March 30, 2009, 11:52am UTC](https://forum.kirupa.com/t/laying-out-some-imges/285310/1 "2009-03-30T11:52:58Z")

</div>

I have an array of images I want to set them out in a grid with some padding. If the total image width + the padding is greater then the stagewidth I want to create a new row.

Has anyone written a class or function to tackle this problem?

thanks,

RK
