# K3 Page Builder: accessing files for a gallery

**URL:** <https://forum.getkirby.com/t/k3-page-builder-accessing-files-for-a-gallery/12806>\
**Category:** Questions\
**Tags:** v3\
**Created:** [February 11, 2019, 9:31am UTC](https://forum.getkirby.com/t/k3-page-builder-accessing-files-for-a-gallery/12806 "2019-02-11T09:31:46Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![timoetting](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/timoetting/32/781_2.png) [@timoetting](https://forum.getkirby.com/u/timoetting)\
**Post date:** [February 11, 2019, 1:57pm UTC](https://forum.getkirby.com/t/k3-page-builder-accessing-files-for-a-gallery/12806/7 "2019-02-11T13:57:48Z")

</div>

Hey.

I just pushed a new version that fixes some issues with tabs and the files field. It should now work exactly like accesing images from within a structure field

To access images of a builder fieldset you can use something like this:

```auto
<?php foreach($data->images()->toFiles() as $image): ?>
    <?= $image->resize(100) ?>
<?php endforeach ?>

```

In the old version, this did only work when not having tabs in the fieldset.

---

_[View the full topic](https://forum.getkirby.com/t/k3-page-builder-accessing-files-for-a-gallery/12806)._
