Is there a setting I have to change to allow images to be pasted into Confluence?

Supposedly, Confluence has support for pasting images (https://jira.atlassian.com/browse/CONF-5587) but I can't get this to work for most images.

If I try to paste any image from my local system to Firefox 16, it does nothing, but Firebug console shows an error:

TypeError: J is undefined
  if(J.substr(0,L.length)===L){I.dom.remove(H[K])                    batch.js (line 1843)

If I use Firefox to copy an image from the web (using copy image) it actually pastes the URL to the image, and that works fine albeit uses the remote web image.

If I try to paste an image I copied via Greenshot to Chrome, it does nothing but the dev console shows:

Not allowed to load local resource: file:///C:/Users/greg/AppData/Local/Temp/4qxsmdr5.hph.png

If I try to paste an image I copied locally, it moves the caret around a bit, but it doesn't paste anything and doesn't show any errors.

Is it possible to make this work with local images?

There's a discussion about Greenshot + Confluence: http://sourceforge.net/projects/greenshot/forums/forum/676083/topic/5181167

There's also a bug open (https://jira.atlassian.com/browse/CONF-23325) although I'm not entirely sure I have the same problem since paste is not working for non-greenshot images.

3 answers

1 accepted

Using Greenshot 1.0.6 + Confluence 5.0.2 works. Note, in the "Expert" tab I have "Device independent bitmap" and "PNG" selected as clipboard formats.

http://i.imgur.com/Kg3rDqx.png

Just wondering, you do have the right to add attachments in that particular space?

Cheers Christian

@Christian Yes, I'm a full admin.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

634 views 21 11
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you