# Collect caching images shown in notes?

**URL:** <https://forum.getodk.org/t/collect-caching-images-shown-in-notes/48301>\
**Category:** Support\
**Tags:** odk-collect\
**Created:** [July 24, 2024, 4:38am UTC](https://forum.getodk.org/t/collect-caching-images-shown-in-notes/48301 "2024-07-24T04:38:17Z")\
**Posts on this page:** 1\
**Page:** 1

<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:** [July 24, 2024, 4:38am UTC](https://forum.getodk.org/t/collect-caching-images-shown-in-notes/48301/1 "2024-07-24T04:38:18Z")

</div>

**1. What is the issue? Please be detailed.**

Background

1. In my form, I have a filtered choice list that uses a CSV
2. The choices have `image` and `big-image` filenames, and I also have an internal choice list with only the filenames to force their upload to Central as currently required.  
2.1 Tangent: Ideally I would like to show the thumb under the choices, and tap to enlarge, but [this is not possible with an external select](https://forum.getodk.org/t/using-images-with-multiple-select-from-csv/39089/7) (unless there is a current workaround?) and only works with an internal select.  
2.2 Tangent2: I tried showing the image of the selected item under the question label, but this only works when changing to a different screen and back again to redraw it, related to non dynamic label/hint values.
3. To get past the tangents, I added a `note` with relevance as the select `!=''`, and put an instance lookup for the filenames under `image` and `big-image` for it, eg `instance('the_CSV_file')/root/item[name=${the_select}]/image`. When selecting a choice, the note is relevant, the thumb shows, and can be enlarged. Changing choices then changes the image instantly.

Issue

- While testing image resolution, I uploaded larger and smaller images against `image` and `big-image` files in Central. Syncing the draft would update the large image (sync, select, tap image in note, a **different** image is shown), but the small image displayed in the note didn't change (sync, select, **same** small image is shown in note)
- I checked the files in the project directory and I could see the new file, with later timestamp on it, so it did sync to device correctly from Central
- I force quit Collect, reopened, tried again, the small image still didn't update
- I removed the draft, re-added, then tried, and the small image was now correct.
- I tried in Enketo, but the images don't display at all, the mouseover is `https://your-odk-server/-/%20jr://images/`

**2. What steps can we take to reproduce this issue?**  
For an `image` that is dynamically looked up via `instance` in a note, replace the image in Central and see if Collect updates. For any hardcoded image in a note, is this also the case?

**3. What have you tried to fix the issue?**  
As above.
