diff --git a/db/migrations/0219__remove_hideIncludedImages_main_option.sql b/db/migrations/0219__remove_hideIncludedImages_main_option.sql
new file mode 100644
index 000000000..5e4ec083b
--- /dev/null
+++ b/db/migrations/0219__remove_hideIncludedImages_main_option.sql
@@ -0,0 +1,2 @@
+DELETE FROM options WHERE name = 'hideIncludedImages_main';
+DELETE FROM entity_changes WHERE entityName = 'options' AND entityId = 'hideIncludedImages_main';
\ No newline at end of file
diff --git a/src/public/app/entities/fnote.js b/src/public/app/entities/fnote.js
index 1f44a97bf..6cf6d1b58 100644
--- a/src/public/app/entities/fnote.js
+++ b/src/public/app/entities/fnote.js
@@ -490,13 +490,6 @@ class FNote {
return;
}
- if (options.is("hideIncludedImages_main")) {
- const imageLinks = this.getRelations('imageLink');
-
- // image is already visible in the parent note so no need to display it separately in the book
- childBranches = childBranches.filter(branch => !imageLinks.find(rel => rel.value === branch.noteId));
- }
-
// we're not checking hideArchivedNotes since that would mean we need to lazy load the child notes
// which would seriously slow down everything.
// we check this flag only once user chooses to expand the parent. This has the negative consequence that
diff --git a/src/public/app/widgets/note_tree.js b/src/public/app/widgets/note_tree.js
index 43d2ee8f8..ed6c03bfe 100644
--- a/src/public/app/widgets/note_tree.js
+++ b/src/public/app/widgets/note_tree.js
@@ -119,15 +119,6 @@ const TPL = `
Hide archived notes
-