This solved my issue! Everything was working fine until Friday and then on Saturday I noticed our images on the main page weren't displaying. Or some would on refresh and then other wouldn't. This bit of code added to the custom css seems to have fixed it but I wonder why this is the case a year later?