# Help with block field editors - large image grid picker?

**URL:** https://forum.makecode.com/t/help-with-block-field-editors-large-image-grid-picker/1769
**Category:** micro:bit
**Created:** [April 22, 2020, 12:04am UTC](https://forum.makecode.com/t/help-with-block-field-editors-large-image-grid-picker/1769 "2020-04-22T00:04:12Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![peli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/peli/32/12_2.png) [@peli](https://forum.makecode.com/u/peli)
#### Post date: [April 22, 2020, 12:25am UTC](https://forum.makecode.com/t/help-with-block-field-editors-large-image-grid-picker/1769/2 "2020-04-22T00:25:37Z")

</div>

This is only supported in beta ([https://makecode.microbit.com/beta](https://makecode.microbit.com/beta)). Use `imageLiteralColumns` and `imageLiteralRows`.

For legacy reasons, the parameter should be a string; but it is really an Image runtime object.

```auto
    /**
     * TODO: describe your function here
     */
    //% block="foo"
    //% imageLiteral=1
    //% imageLiteralColumns=12
    //% imageLiteralRows=3
    export function foo(i: string): void {
        // this is not pretty but basically, i is an Image
        let im = <Image><any>i;
        im.showImage(0)
    }

```

Open this in beta: [https://makecode.microbit.org/beta#pub:\_Fm582taEK8Ww](https://makecode.microbit.org/beta#pub:_Fm582taEK8Ww)

---

_[View the full topic](https://forum.makecode.com/t/help-with-block-field-editors-large-image-grid-picker/1769)._
