INSTALL AN IMAGE VIEWER ON THE PI – Single view and Slideshow
To install the FBI image viewer type the following in a terminal on your Pi:
sudo apt-get install fbi
To view an image type the following:
sudo fbi -d /dev/fb0 -a -T 2 0001.jpg
# the -d /dev/fb0 flag calls a 'framebuffer'
# the -T 2 is needed when controlling the pi via SSH - tells it to use the Terminal for input
To "unview" the image you have to kill the FBI process. To find the FBI process type:
ps -aux | grep fbi
# ps -aux lists all processes running which is then "piped" (|) to the grep search function which looks for any fbi processes
To kill the FBI process type:
sudo kill [process id number]
To start a slideshow of images in a folder via SSH terminal
sudo fbi -d /dev/fb0 -a -T 2 -t 5 *.jpg
# the - t (lowercase) sets the time interval in seconds between images
To start a slideshow of images in a folder without the photo information on the bottom of the screen type:
sudo fbi -noverbose -a -t 10 -T 2 -d /dev/fb0 *.jpg