|
|
(One intermediate revision by the same user not shown) |
Line 1: |
Line 1: |
| <!-- !!! -->
| | The content on this page has moved to https://documentation.open-xchange.com/7.10.2/ui/miscellaneous/paste-images.html |
| <!-- PLEASE APPLY CHANGES ONLY TO THE NEW TECHNICAL DOCUMENTATION: wd/frontend/web/documentation -->
| |
| <!-- !!! -->
| |
|
| |
|
| {{Stability-experimental}}
| | Note: Open-Xchange is in the process of migrating all its technical documentation to a new and improved documentation system (documentation.open-xchange.com). Please note as the migration takes place more information will be available on the new system and less on this system. Thank you for your understanding during this period of transition. |
| | |
| '''Abstract: ''' Pasting images is basically supported by any major browser. But there are several difficulties to provide a cross-browser solution. This article covers, how to paste images into the different browsers.
| |
| | |
| == Paste images ==
| |
| | |
| If speaking about pasting images, it is important to consider the source where the image was copied. Basically, copying images from an application is possible (for details see Section Applications). It seems like these applications are simply storing the image data in the clipboard which can be accessed by the paste events of the browser.
| |
| | |
| Pasting images from a folder of the operating system does not work on any tested environment. Whereas OS X does provide the filename and a dummy picture, the clipboard of all browsers on Windows Systems remains empty.
| |
| | |
| == Support ==
| |
| | |
| The following table lists all major browsers and their ability to insert pasted images from applications.
| |
| | |
| {|
| |
| ! browser
| |
| ! paste support (tested version)
| |
| ! specifics
| |
| |-
| |
| | Chrome
| |
| | 43.0.2357.81
| |
| |
| |
| |-
| |
| | Safari
| |
| | <span style="color: red;">no support in 8.0.6</span>
| |
| | Does not provide images in clipboardData. After pasting, the browser inserts an img-tag with webkit-fake-url. There is no pure javascript solution to retrieve the image data for upload.
| |
| |-
| |
| | Firefox
| |
| | 38.0.1
| |
| | Does not provide images in clipboardData. After pasting, the browser inserts an img-tag with base64 encoded src.
| |
| |-
| |
| | Internet Explorer
| |
| | 11.0.9600.16428
| |
| | IE 10 does not support image pasting.
| |
| |-
| |
| |}
| |
| | |
| == Applications ==
| |
| | |
| This table lists some applications which were tested as copy sources for images. Mainly, OS related applications does are not supported as copy source whereas image viewing/editing related applications are supported.
| |
| | |
| {|
| |
| ! application
| |
| ! paste support
| |
| ! operating system
| |
| |-
| |
| | Finder
| |
| | <span style="color:red;">no</span>
| |
| | OS X
| |
| |-
| |
| | Preview
| |
| | <span style="color: green;">yes</span>
| |
| | OS X
| |
| |-
| |
| | Fotos
| |
| | <span style="color: green;">yes</span>
| |
| | OS X
| |
| |-
| |
| | Chrome
| |
| | <span style="color: green;">yes</span>
| |
| | OS X and Windows
| |
| |-
| |
| | Internet Explorer
| |
| | <span style="color: green;">yes</span>
| |
| | Windows
| |
| |-
| |
| | Windows Explorer
| |
| | <span style="color: red;">no</span>
| |
| | Windows
| |
| |-
| |
| | Windows Photo Viewer
| |
| | <span style="color: red;">no</span>
| |
| | Windows
| |
| |-
| |
| | Paint
| |
| | <span style="color: green;">yes</span>
| |
| | Windows
| |
| |-
| |
| | GimP
| |
| | <span style="color: green;">yes</span>
| |
| | OS X and Windows
| |
| |-
| |
| |}
| |