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
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.
Thanks. I embed images this way; ![[image 63.jpg|425]] , and switching source to live preview or back, the image does not hide. Might I have some configuration issue somewhere? I had a look at preview and other places but found nothing relevant. I will check the snippet you mention and let you know.
I tested the snippet and it works! But i do not to see how to assign it a hotkey, on the search list it does not show up
You’re seeing an image in Source Mode?
Sorry, you are right. I was confusing source mode with editing mode. Now it works.
I realized quite some time ago that I don’t really like the way images are currently displayed in files…
Sometimes it’s not very convenient when images are placed vertically one below the other.
Sometimes they are too big, and sometimes they are too small.
And I really miss the functionality to control all this in Core Obsidian.
As a temporary solution, I decided to simply insert images as regular links ([[]]) rather than embedded (![[]]).
When I need to see what the image behind the link looks like, I hover over it, hold down Ctrl, and the image is displayed (Settings > Core Plugins > Page Preview).
When necessary, I open it in a new tab using the wheel and close it fairly quickly using hotkeys.
Of course, this is not very convenient, especially since when inserting an image into Obsidian from the clipboard, you have to manually remove ! every time… but for me, this is the best option available so far…
I thought about writing a Feature Request so that images could be inserted by default as regular links rather than embedded, but if the goal is to make it easier to work with images in files, then this is simply not the right direction…
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.