Updated ImagePreview to support multiple image previewing.