The tutorial about the random image script is for when you want to have different sidebar images (or technically any other image - except background image) change when you refresh. It will explain how to install the code in any theme. As long as you know how to CTRL + F and know how to upload images to an image host, you will be able to do this.
It’s a long tutorial so be prepared to read - but it’s a thorough tutorial.