Install cairo-dock-slider-plug-in by entering the following commands in the terminal:
sudo apt update sudo apt install cairo-dock-slider-plug-in
Slider plug-in Cairo-dock
A collection of official plug-ins and applets for cairo-dock. . This plug-in is a basic image slider. Users just have to select a directory and a display effect and you're done.