How to handle unknown number of images/files?

I have a file field with no max_files value. I use the variable like this:

  {{ images }}
    <li><img src="{{ value }}"></li>
  {{ /images }}

This works when multiple images are uploaded, but if there is only one image uploaded this breaks. How do you handle a variable that may be single or multiple?

Answered by Dave!
>>>>>>> Answered <<<<<<<
5 Replies