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


5 / 9


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

16999 by jun66j5 on 2017-11-22 03:37:54
TracDragDropPlugin: bump up the version to
16998 by jun66j5 on 2017-11-22 03:33:44
TracDragDropPlugin: fix pasting image on clipboard doesn't work on Trac 1.2 (closes #13044)
16332 by jun66j5 on 2017-03-16 09:46:49
tracdragdrop: add description and replace inputs to the form, and replacing files by drop+shift (closes #10383)


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