added loop=infinite to img tag