Skip to content

Redmine plugin for pasting cropped image from clipboard as an attachment.

Notifications You must be signed in to change notification settings

AlexStein/clipboard_image_paste

 
 

Repository files navigation

clipboard_image_paste

Paste (cropped) image from clipboard as an attachment.

  • uses pure client side JavaScript
  • attachment works for issues, wiki, news, files, documents, forums
  • image can be interactively cropped
  • works only in Google Chrome and Mozilla Firefox browsers
  • translations: bulgarian, czech, english

Compatibility:

  • Redmine 2.2.1
  • works only in Google Chrome and Mozilla Firefox browsers
  • tested on Chrome 24, 15, 13 and Firefox 18, 16, 5

Authors:

  • Richard Pecl (Redmine plugin functionality) [https://github.com/peclik]
  • used clipboard handler snippet by Joel Besada
  • used uploaded image data to file object conversion
    code snippet by Alexandr Ivanov
  • used jQuery, jQuery UI and Jcrop javascript libraries
  • Ivan Cenov (Bulgarian translation)

Known issues:

  • maximum attachment size is checked against BASE64 encoded image data (even
    smaller images than the maximum allowed attachment size can be rejected)
  • clipboard_image_paste’s ‘Add picture from clipboard’ command combines number
    of both regular files and pasted images for maximum number of attachment check,
    while Redmine’s original ‘Add another file’ counts only regular files

Changelog:

18.01.2013 RELEASED 1.0

About

Redmine plugin for pasting cropped image from clipboard as an attachment.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 78.7%
  • Ruby 21.3%