git clone https://github.com/animaone/image-viewer-component-for-pygame
cd image-viewer-component-for-pygame
mkdir images
put your images in the folder 'images'
python Main.py
folder icon from: https://pixabay.com/vectors/folder-directory-explorer-dossier-151584/
sample images from: