create lazy loader and image viewer