Insert image in note

Get help from other users here.

Moderators: Contributor, Developer

Post Reply
sse450
Posts: 1
Joined: Oct 14, 2016 2:45 am

Insert image in note

Post by sse450 » Apr 27, 2018 2:53 am

Not asking about image attachment. When we attach a screenshot, we detach them from the context of note.

Is inserting image directly in note somehow possible?
Mantis: 1.3.2
PHP: 5.6.26
SQL: MariaDB-server-10.1.18
OS: Centos 7

Corobori
Posts: 3
Joined: Feb 19, 2018 11:48 am

Re: Insert image in note

Post by Corobori » Oct 26, 2018 2:49 pm

Did you manage to do this ?

I tried installing the PasteZone 1.0.1 plugin but it doesn't seem to work.

stevenrlp
Posts: 3
Joined: Oct 28, 2018 4:21 pm

Re: Insert image in note

Post by stevenrlp » Oct 28, 2018 4:27 pm

PasteZone works for me on the latest version of MantisBT, it adds a section(div) where you can paste an image and it is converted to base64 and uploaded.

I have been having the same issue of wanting to paste images into the textarea but I am yet to find a working solution.

I think what I have to do is look at the Bbcode plugin and see how that works and try and edit it to replace it with CKEdit or something.

If anyone knows of a good solution or has a plugin please can you share it with us!!!

Starbuck
Posts: 180
Joined: Feb 13, 2006 9:53 pm
Location: USA
Contact:

Re: Insert image in note

Post by Starbuck » Dec 29, 2018 7:12 pm

In v2, at Note entry you can upload a file. The attachment gets posted as its own event/note and it's followed by the current note. So replacement code for this would not only need to be able to render a file, but the mechanism would need to be changed that saves the file and then displays it in the history. The way it works now may not be idea but it's better than v1.x, so a new plugin might not be "required". But yes, I'd like to see an image appear right along with its note as well. And yes, I'd really like to see CK Editor completely replace note entry so we can get a WYSIWYG experience.
If you want Mantis to work differently, use or create a plugin. Visit the Plugins forums.
Ask developers to create a plugin that you need - and motivate them to help you!

Post Reply