Add addImage function to incoming-images element.