Image Shake

See How to Shake an Image

To insert your code select Embed from the Insert menu and choose Embed Code.

To get the usable image URL for images stored in Drive you need to get the image ID and append to this URL:
Remember that images must be shared publicly.