Project

General

Profile

Plugin for displaying images in the history

Added by Vanessa Martinez almost 11 years ago

Hi,

we are searching for a possibility to upload images into the comments and not the issue or update.
It would be great if the tool would be able to handle files via drag and drop.

Currently we are using redmine_screenshot_paste (from the master himself). But this is a java applet and therefore there are some problems with it in environments where java is not allowed.

Is there a plugin that is able to handle this?

We have seen the redmine_image_clipboard_paste and are going to test it. But I guess that this will not handle our issues with files in the comment (instead of the update/issue)

Greetings, Vanessa


Replies (1)

RE: Plugin for displaying images in the history - Added by Jon Keller over 10 years ago

Vanessa,

If by "comments" you mean the issue history (the numbered chain of issue changes), then you don't need a plugin.

You can use the thumbnail notation to show the thumbnail for an image attached to the issue:

{{thumbnail(imagename.png)}}

where "imagename.png" is the image attached to your issue.

I use this in combination with the newer clipboard_image_paste plugin, found here:
https://github.com/peclik/clipboard_image_paste

This plugin relies on newer javascript conventions rather than a java applet, and works with chrome and firefox. For instance, I can copy any image in a web browser (via right click "Copy Image"), or simply press the printscreen button, and you can paste it right into the issue.

The other great thing about the plugin is that once you paste the image, there's a button to show you the inline and thumbnail codes (like the one I cited above) for the pasted image.

Hope that helps!

Jon

    (1-1/1)