add support for multiple activity images in activity/*.json template (fixes #3203)