diff --git a/frappe/templates/print_formats/standard_macros.html b/frappe/templates/print_formats/standard_macros.html
index 0d904bb59c..7a0dce7f5e 100644
--- a/frappe/templates/print_formats/standard_macros.html
+++ b/frappe/templates/print_formats/standard_macros.html
@@ -5,8 +5,11 @@
{{ frappe.render_template(df.options, {"doc": doc}) or "" }}
{%- elif df.fieldtype in ("Text", "Text Editor", "Code", "Long Text") -%}
{{ render_text_field(df, doc) }}
- {%- elif df.fieldtype in ("Image", "Attach Image", "Attach")
- and (guess_mimetype(doc[df.fieldname])[0] or "").startswith("image/") -%}
+ {%- elif df.fieldtype in ("Image", "Attach Image")
+ and (
+ (guess_mimetype(doc[df.fieldname])[0] or "").startswith("image/")
+ or doc[df.fieldname].startswith("http")
+ ) -%}
{{ render_image(df, doc) }}
{%- elif df.fieldtype=="Geolocation" -%}
{{ render_geolocation(df, doc) }}
@@ -123,15 +126,14 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}"
{% include doc.print_templates[df.fieldname] %}
{% elif df.fieldtype=="Check" %}
- {% elif df.fieldtype=="Image" %}
+ {% elif df.fieldtype in ("Image", "Attach Image") %}
{% elif df.fieldtype=="Signature" %}
- {% elif df.fieldtype in ("Attach", "Attach Image") and doc[df.fieldname]
- and frappe.utils.is_image(doc[df.fieldname]) %}
+ {% elif df.fieldtype == "Attach" and doc[df.fieldname] and frappe.utils.is_image(doc[df.fieldname]) %}
{% elif df.fieldtype=="HTML" %}