I do not recommend it. It gets irritating if you want to inspect some version of the image, but then the image moves up and down, instead of being static.
My suggestion, A simple GIF would work fine. Or if you want to get fancy you can do interactive demos like on this blog: https://www.redblobgames.com/articles/visibility/