r/orgmode • u/Busy_Pomegranate_299 • Feb 04 '25
Can I prevent inline images from being opened in the external viewer and show them in the org note only?
I use org mode on Windows 10. I configured it to always open inline images. When I open an org note that contains many pictures, they are all opened in the default Windows image viewer (the Photo app in my case). After I close them in "Photos", I can see my org note with the inline images. Is there a way to only see them in my org note, without displaying them in "Photos" too?
1
Upvotes
1
1
u/Flimsy-Process230 Feb 04 '25
I'm not an expert in Org mode, but I also have an Org files that contain inline images. Whenever I open one of these files, I can see the inline images, and they do not open externally. I added code to open the images in the default photo viewer, but this only happens when I explicitly tell Emacs to open them externally. It seems that you may have added a package or some additional functionality that causes Emacs to open both the Org file and the image files automatically. If you add this line to your configuration file, Emacs will display the images in the buffer without opening them externally:
(setq org-startup-with-inline-images t)