LPS-48449 ImageViewer is created only if there are images