Modified image tag to work with Python 3.