org-attach-embedded-images

Homepage: https://gitlab.com/marcowahl/org-attach-embedded-images

Author: Marco Wahl

Updated:

Summary

Transmute images to attachments

Commentary

There are occasions when images are displayed in a subtree which
are not org attachments.  For example if you copy and paste a part
of a web page (containing images) from eww to an org subtree.

This module provides command `org-attach-embedded-images'
to save such images as attachments and insert org links to them.

Install:

To use this module insert it to `org-modules'.  The insert can be
performed via {M-x customize-variable RET org-modules RET} followed
by insertion of `org-attach-embedded-images' to the external
modules section.

Alternatively you can add the line

(require 'org-attach-embedded-images)

to your emacs configuration.

Use

    M-x org-attach-embedded-images

in a subtree with embedded images.  The images get attached and can
later be reviewed.

Note: Possibly

    M-x org-toggle-inline-images

is needed to see the images in the Org mode window.

Code:

Dependencies