Updated animated-images example to also handle image arrays