Version 21 (modified by Jun Omae, 6 years ago) (diff)

Add highlight

Drag-and-Drop Attachments Plugin for Trac


This plugin extends attachments list in Trac.

  • 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

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

Bugs/Feature Requests

Existing bugs and feature requests for TracDragDropPlugin are here.

If you have any issues, create a new ticket.


Download the zipped source from [download:tracdragdropplugin here].


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


  1. Install the plugin
    • For Trac 0.11.x -- easy_install
    • For Trac 0.12.x or later -- easy_install
  2. Enable the plugin in trac.ini:
    tracdragdrop.* = enabled




new status tickets:

Upload pic and insert it at the cursor postion
Add attachment menu is visible if a wiki page is read-only
drag and drop "new ticket"
Additional selection of image size
use a dedicated drop-zone instead whole HTML page

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: jun66j5

Attachments (3)

Download all attachments as: .zip