# How can I display special .nii file (with timeline) in sequence

**URL:** <https://discourse.vtk.org/t/how-can-i-display-special-nii-file-with-timeline-in-sequence/10038>\
**Category:** Development\
**Tags:** code, proposal\
**Created:** [December 2, 2022, 3:19am UTC](https://discourse.vtk.org/t/how-can-i-display-special-nii-file-with-timeline-in-sequence/10038 "2022-12-02T03:19:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sterben\_01](https://discourse.vtk.org/user_avatar/discourse.vtk.org/sterben_01/32/6142_2.png) [@Sterben\_01](https://discourse.vtk.org/u/Sterben_01)\
**Post date:** [December 2, 2022, 3:19am UTC](https://discourse.vtk.org/t/how-can-i-display-special-nii-file-with-timeline-in-sequence/10038/1 "2022-12-02T03:19:57Z")

</div>

Hi. I’m a beginner for VTK.  
Right now I have an special .nii file which is 2D but has timeline. I had tried use `vtkNIFTIImageReader` + `vtkImageActor` + `vtkRender` + `vtkRenderWindow` to display this file as an image sequence. But I only can get the first frame of the sequence. What should I do?
