diff --git a/gramps2/src/plugins/NavWebPage.py b/gramps2/src/plugins/NavWebPage.py
index 1a5051baa..e5a1a4741 100644
--- a/gramps2/src/plugins/NavWebPage.py
+++ b/gramps2/src/plugins/NavWebPage.py
@@ -805,7 +805,7 @@ class MediaPage(BasePage):
if target_exists:
of.write('\n' % (newpath, self.page_title))
- else:
+ elif not note_only:
of.write('
(%s)' % _("The file has been moved or deleted"))
of.write('\n')
else:
@@ -816,13 +816,13 @@ class MediaPage(BasePage):
else:
path = os.path.join('images','document.png')
of.write('