diff --git a/_includes/img-url.html b/_includes/img-url.html
index c08e8b9..1483652 100644
--- a/_includes/img-url.html
+++ b/_includes/img-url.html
@@ -29,9 +29,9 @@
%}
{% if include.absolute %}
- {% assign url = url | absolute_url %}
+ {% assign url = site.url | append: site.base_url | append: url %}
{% else %}
- {% assign url = url | relative_url %}
+ {% assign url = site.base_url | append: url %}
{% endif %}
{% endunless %}
{%- endif -%}