diff --git a/boards/models/attachment/viewers.py b/boards/models/attachment/viewers.py
--- a/boards/models/attachment/viewers.py
+++ b/boards/models/attachment/viewers.py
@@ -80,7 +80,7 @@ SVG_FORMAT_VIEW = ''\
''
URL_FORMAT_VIEW = '' \
- '' \
+ '' \
''
@@ -212,7 +212,7 @@ class UrlViewer(AbstractViewer):
image = static(image_path)
w, h = self.get_static_dimensions(image_path)
- return URL_FORMAT_VIEW.format(self.url, image, w, h)
+ return URL_FORMAT_VIEW.format(self.url, image, w, h, self.url)
def _find_image_for_domains(self, domain):
"""