add functionality to processShowingImage.js