My DOM looks like this:
-
There is no way of changing the image source with CSS.
Only possible way is using Javascript or any Javascript library like jQuery.
Logic-
The images are inside a div and there are no class
or id
with that image.
So logic will be select the elements inside the div
where the images are located.
Then select all the images elements with loop and change the image src with Javascript / jQuery.
Example Code with demo output-