Help please. Hover on image to show secondary image.

I am new to css. I am trying to add the function to show the secondary product photo when hovering on the primair product photo. Without having to add code for every product one by one. We are using a simple CMS system where we ha a field to add CSS styling. Is there code to add this function for all images on the websites?

The website is