Quick way to hide/show images on notes

Hi,
I would like to have some quick way, like a keyboard shortcut, to hide / show images on my notes.
I looked for it here and found nothing; some report adding some code to the CSS snippets, but not shortcuts or quick ways.
Thanks
Horacio

This sounds like a core feature. Shouldn’t all embeds (backtick blocks as well as media) collapse to a single line in Outline View?

You could switch to Source Mode. Views and editing mode - Obsidian Help

You’re trying to quickly hide or show images in a note so you can focus on the words.

Quickest path I know for this:

  1. Use the built‑in view switcher. Press Ctrl+E (Cmd+E on macOS) or click the mode icon in the editor’s upper‑right corner to switch from Live Preview to Source mode; in Source mode, embeds render as plain markdown, so images disappear until you switch back.

  2. If you want to stay in Live Preview, add a CSS snippet in your vault’s .obsidian/snippets folder called hide-images.css with just img { display: none; }. Enable it from Settings → Appearance → CSS snippets, then assign yourself a hotkey for “Reload snippets” under Settings → Hotkeys. Tapping that hotkey will toggle the snippet and hide images without leaving preview.

  3. For a two‑minute test, create a note like image_toggle_demo.md with an embedded image, then hit Ctrl+E or enable the snippet to see which method you prefer. This small experiment tells you if the approach matches your workflow.

Would adding a snippet be okay for you, or do you need a purely native solution?

There is no such command, and if there were, it wouldn’t toggle this snippet.

Please do not post unverified AI output. It wastes people’s time.