Insert is a utility that makes inserting images and links to files into
File and Image fields. Images may be inserted into textareas with a specific
Install this module using the official Backdrop CMS instructions at
If planning to use Insert with Images, make sure the core Image module is
Add or configure a File or Image field under Administer > Structure > Content
types > [TYPE] > Manage fields (admin/structure/types/manage/[type]/fields).
When configuring a field, there is a new section in the Field options for
"Insert". You can then configure the field to include an Insert button and
choose what templates you would like to have.
Create a piece of content with the configured field. After uploading a file,
an "Insert" button will appear. Click this button to send the file or image
into the Body field.
Insert should work on multiple fields (the last field that was active will
receive the file), and with most popular WYSIWYG editors.
Insert can be configured to work with non-HTML filters like BBCode or Markdown.
To do this, copy the template file you would like to change from the "templates"
directory to your active theme's directory. Then clear your caches.
The Image templates may also be used per Image style. You can copy the
image-insert-image.tpl.php file to your theme directory and then rename it to
[style-name] is the name of
the Image style. Change underscores to hyphens in the style name.
Bugs and Feature requests should be reported in the Issue Queue:
John Romine (https://github.com/jromine)
- Ported to Backdrop by Herb v/d Dool (https://github.com/herbdool).
- Originally written for Drupal by Nate Haug (https://github.com/quicksketch).
This project is GPL v2 software. See the LICENSE.txt file in this directory for