Support Forum

Plugin for pasting images from the clipboard?

SF Sarah Fernandezlopez
Sarah Fernandezlopez
Member

I hate having to save an image in order to upload it to a site.  Is there any plugin that allows users to paste images from the clipboard and have them uploaded?

1 Answer

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Actually we have been adding code to stop drag and drop (which is what a paste form the clipboard would in effect be) because of the problems it can cause. This does not mean we will not take a closer look at this at some stage as I feel we might be able to get around the problems.

The biggest issue is that it can be hard to tell what you are getting. And image – for example – is not held as a file item but as a long stream of data. There is no size information for example. More worrying would be pasting text files which we believe could contain malicious code. As I say – we need to investigate further but at the moment it can not be allowed.

It is just also worth noting that in terms of a web browser there is actually no such thing as a ‘clipboard’. Javascript – which is the language at our disposal and would need to be used to collect such a dropped item – does not actually have support for the clipboard!