diff --git a/_includes/img.html b/_includes/img.html
index 58a1cc6..bfb8c91 100644
--- a/_includes/img.html
+++ b/_includes/img.html
@@ -1,11 +1,17 @@
+{% if READTHEDOCS %}
+{% set assets = '/en/latest/assets' %}
+{% else %}
+{% set assets = '/assets' %}
+{% endif %}
+
{% if id %}
{% elif url %}
-
+
{% endif %}
-
-
+
{% endif %}