Drag-and-Drop attachments in Trac


This plugin extends the ability to manage attachments in Trac.

Key features:

  • Drag-and-drop to attach files using HTML5 drag-and-drop, XMLHttpRequest Level 2 and File API.
  • Progress bar while uploading the files using XMLHttpRequest Level 2.
  • More than one file for selecting attachment files.
  • Attach an image from clipboard.
  • Auto-submit on select a file to attach.

Browser Compatibility:

User action Firefox Chrome Safari Opera Internet Explorer
Drop-and-drop to attach files 3.6+ 12+ 6+ 12+ 10+
Progress bar while uploading files 3.6+ 12+ 5+ 12+ 10+
More than one file for selecting 3.6+ 12+ 5+ 11+ 10+
Attach an image from clipboard 3.6+ 19+ 6+ 15+ 11+ (10 partially)
Auto-submit on select a file 3.6+ 12+ 5+ 11+ 7+

Drag-and-drop capability to attach files:

Uploading files displays a progress bar:

Each attachment has its own drop down menu for further processing:

Bugs/Feature Requests

Existing bugs and feature requests for TracDragDropPlugin are here.

If you have any issues, create a new ticket.


20 / 22


6 / 10


Download the zipped source from here.


You can check out TracDragDropPlugin from here using Subversion, or browse the source with Trac.


  1. Install the plugin:
    • For Trac 0.12.x or later: $ pip install svn+
    • For Trac 0.11.x: $ pip install svn+
  2. Enable the plugin in your trac.ini file:
    tracdragdrop.* = enabled

Recent Changes

18448 by jun66j5 on 2021-10-15 06:25:19
TracDragDropPlugin: fix extract_messages and extract_messages_js failing for Jinja2 templates (closes #14057)
17646 by jun66j5 on 2020-01-07 04:18:43
TracDragDropPlugin: add missing jinja2 template file (closes #13727)
17567 by jun66j5 on 2019-11-20 08:47:23
TracDragDropPlugin: fix an internal error when new file is uploaded (closes #13625)


Author: jun66j5
Maintainer: Jun Omae
Contributors: OpenGroove,Inc. and tracpath

Last modified 3 months ago Last modified on Oct 16, 2021, 11:01:27 AM

Attachments (3)

Download all attachments as: .zip