Reputation: 43
I have the following image link defined in an org file.
[[file:~/image.jpeg]]
Whilst clicking on the link opens the image in a new buffer, I can't get the file to display inline images.
I've tried:
Adding #+STARTUP: inlineimages
to the org file itself.
Adding (setq org-startup-with-inline-images t)
to the user-config in .spacemacs.
Adding the following to the user-config in .spacemacs.
(defun do-org-show-all-inline-images ()
(interactive)
(org-display-inline-images t t))
(global-set-key (kbd "C-c C-x C v")
'do-org-show-all-inline-images)
None of these enable inline images by default, or via
C-x C-c C-v
which produces:
No images to display here
Emacs: 27.2 Spacemacs (base): 0.999.0 Image: 474 x 355 pixels, 27kb
Upvotes: 0
Views: 454
Reputation: 43
Switched from spacemacs-base to the vanilla distribution. Now adding:
#+STARTUP: inlineimages
to the header of the org file enables inline images to be displayed by default.
Upvotes: 0