How can I apply this effect

hey guys how can I apply the attached effect on a regular image, like without any clicking like image loads and it plays that effect. I want to be able to use this in my currene project that I am working on,

please anyone

thank you