# mgGetImages &offset

**URL:** <https://forum.modmore.com/t/mggetimages-offset/317>\
**Category:** MoreGallery\
**Created:** [May 19, 2016, 9:37am UTC](https://forum.modmore.com/t/mggetimages-offset/317 "2016-05-19T09:37:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mintnl](https://forum.modmore.com/user_avatar/forum.modmore.com/mintnl/32/256_2.png) [@mintnl](https://forum.modmore.com/u/mintnl)\
**Post date:** [May 19, 2016, 9:37am UTC](https://forum.modmore.com/t/mggetimages-offset/317/1 "2016-05-19T09:37:45Z")

</div>

I must be doing something wrong; docs say;

> ```
> &offset 
> 
> Indicates starting at what index the results should be returned (primarily used for paginating results).
> 
> ```

When i use !mgGetImages? &offset=`3` nothing happens, still got the first image.

```
<ul class="row gallery-list has-center">
                                [[!mgGetImages? &offset=`3` &imageTpl=`huisje-afb`]]
</ul>                       

```

and huisje-afb chunk

```
<li class="col-sm-6">
                                    <a class="fancybox" data-fancybox-group="group" href="[[+file_url]]" title="[[+name]]">
                                        <span class="img-holder">
                                            <img src="[[+file_url:phpThumbsUp=`w=750&h=450&zc=1&q=60`]]" height="750" width="450" alt="[[+name]]">
                                        </span>
                                        <span class="caption">
                                            <span class="centered">
                                                <strong class="title">[[+name]]</strong>
                                                <span class="sub-text">[[+description]]</span>
                                            </span>
                                        </span>
                                    </a>
                                </li>

```

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [May 19, 2016, 9:48am UTC](https://forum.modmore.com/t/mggetimages-offset/317/2 "2016-05-19T09:48:46Z")

</div>

You will also need to set a limit when using offset (even if it’s a really high limit). Guess we should add that to the docs 😉

---

<div class="post-metadata">

**Author:** ![mintnl](https://forum.modmore.com/user_avatar/forum.modmore.com/mintnl/32/256_2.png) [@mintnl](https://forum.modmore.com/u/mintnl)\
**Post date:** [May 19, 2016, 9:54am UTC](https://forum.modmore.com/t/mggetimages-offset/317/3 "2016-05-19T09:54:56Z")

</div>

That works. Thanx Mark.
