Selection list with image: the photo comes from the list
The list brings the image along
Whoever picks the location also gets the matching photo – a list that fills an image box.
What it's about
- One list column is named exactly like the image box (StorePhoto) and holds a file name from the image set.
- Hide the image box from the form: Settings → “Im standard Editor ausblenden” (still German).
- Without it, the form shows an empty section with “Image add”.
- On the variable, Defined list must be selected, or the dropdown stays empty.
Transcript
Click a timestamp to jump to that point in the video.
- The buyer picks their store. Along with the address, the photo of the store comes onto the card.
- Behind it is a selection list. Each row has a description for the dropdown and a value for the card. On top of that, there's a column named exactly like the image box: StorePhoto. It holds the file name from the image set.
- You'll find the list under Print templates, Data, Lists. You already know Description and Value.
- What's new is the column StorePhoto. For each store, it holds a file name – for example, harbor dot jpg.
- In the layouter, the image box has exactly the same name: StorePhoto. Its image set contains the three photos.
- Under Settings, check Im standard Editor ausblenden – that's still German for: hide in the standard editor.
- Finally, attach the list to the variable Store. In the Special Field Options, section List: activate the function and pick your list under Defined list.
- Good to know: without that checkbox, the photo still comes along. But then the form shows a section StorePhoto with an empty thumbnail and the button Image add. That only confuses people.
- And on the variable, Defined list has to be selected. Otherwise, the dropdown stays empty.
- Live in the shop: Riley picks the Harbor store, then Uptown. Address and photo change along with it.
- One column named like the image box – and the list brings the photo along.
Also in: ImagesOnboarding course