Adding a Photographic Slideshow

I need to add a picture slideshow to my frontpage only. You can see on my website that I added the php to the template file in the editor, but now the slideshow shows up for example on my membership page as well, I suppose the template or container is used there as well.

How would I add this slide to my frontpage? Is there maybe a possibility of a widget being added on the frontpage that I could use? If not, which file should I use to add the slideshow code into?

Thanks for the help!