diff --git a/templates/readme-template.rst b/templates/readme-template.rst
index 1f95aac57f6e8e23c658d0d9fd24c77e8920ae32..f8f90a27bcf4293df27b000a6db9630db8dec2a0 100644
--- a/templates/readme-template.rst
+++ b/templates/readme-template.rst
@@ -1,17 +1,17 @@
 .. vim: set fileencoding=utf-8 :
 .. <DATE>
 
-.. image:: http://img.shields.io/badge/docs-stable-yellow.png
+.. image:: http://img.shields.io/badge/docs-stable-yellow.svg
    :target: http://pythonhosted.org/<PACKAGE>/index.html
-.. image:: http://img.shields.io/badge/docs-latest-orange.png
+.. image:: http://img.shields.io/badge/docs-latest-orange.svg
    :target: https://www.idiap.ch/software/bob/docs/latest/bob/<PACKAGE>/master/index.html
 .. image:: https://gitlab.idiap.ch/bob/<PACKAGE>/badges/master/build.svg
    :target: https://gitlab.idiap.ch/bob/<PACKAGE>/commits/master
 .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/<PACKAGE>
-.. image:: http://img.shields.io/pypi/v/<PACKAGE>.png
+.. image:: http://img.shields.io/pypi/v/<PACKAGE>.svg
    :target: https://pypi.python.org/pypi/<PACKAGE>
-.. image:: http://img.shields.io/pypi/dm/<PACKAGE>.png
+.. image:: http://img.shields.io/pypi/dm/<PACKAGE>.svg
    :target: https://pypi.python.org/pypi/<PACKAGE>