I want a very simple image gallery, in which i have two buttons that allow the user to change the image next and previous and also a thing that makes the image change automatically every 5 seconds or so.

How do i do this please help me