# Pull data with photos

**URL:** <https://forum.getodk.org/t/pull-data-with-photos/6494>\
**Category:** Support\
**Created:** [April 10, 2017, 6:40am UTC](https://forum.getodk.org/t/pull-data-with-photos/6494 "2017-04-10T06:40:29Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![ahblake](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ahblake/32/22392_2.png) [@ahblake](https://forum.getodk.org/u/ahblake)\
**Post date:** [February 14, 2024, 10:45pm UTC](https://forum.getodk.org/t/pull-data-with-photos/6494/6 "2024-02-14T22:45:00Z")

</div>

> [@TobiasMcNulty](#):
>
> If you have any additional thoughts on how we could accomplish this

@TobiasMcNulty This is a pain point for me as well, I have CSVs that reference many images, so also need to force them into Central. Here's what I do:

- Add a choice list, eg `ref_images` to your form, then under the `image` (and perhaps `big-image`) column put the filename - I use formulas to build the label / image / big-image values from the name.
- **important** : Add a `select_one` to the form at the very start/end that references this choice list, but has `relevance` set to `false`. If you don't do this, the choice list won't end up in the XML and the media won't be required for Central upload. This step may become unnecessary in the future.

Obviously, you will need to keep your internal choice list and required media list in sync.

Are you then trying to use these files as dynamic defaults into an `image` widget? If so, see my [showcase on this](https://forum.getodk.org/t/dynamic-images-loaded-to-an-image-widget-from-a-choice-csv-selection/41921), currently it can be done in Collect but not Enketo by prepending `filename.ext` with `jr://images/` and placing this string in the calculation column. I also pull a filtered set of fields from a CSV that have an `image` and `big-image` value into a select question in order to show these image(s)

---

_[View the full topic](https://forum.getodk.org/t/pull-data-with-photos/6494)._
