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.


18 / 19


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: easy_install
    • For Trac 0.11.x: easy_install
  2. Enable the plugin in your trac.ini file:
    tracdragdrop.* = enabled

Recent Changes

17567 by jun66j5 on 2019-11-20 08:47:23
TracDragDropPlugin: fix an internal error when new file is uploaded (closes #13625)
17566 by jun66j5 on 2019-11-20 07:27:13
TracDragDropPlugin: make compatible with Trac 1.4 (closes #13625)
16999 by jun66j5 on 2017-11-22 03:37:54
TracDragDropPlugin: bump up the version to


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

Last modified 3 years ago Last modified on Mar 16, 2017, 11:27:34 AM

Attachments (3)

Download all attachments as: .zip