John J Barton wrote:
L. David Baron wrote:

What am I missing?

ok more things you don't want to hear:

 * paste image

I want web sites to accept a image from the clipboard rather than a file. I waste a lot of time creating temp files and navigating to them.

As long as we can do it safely it sounds like a great idea :) But why limit to images, wouldn't attaching any other type of data from the clipboard be just as useful?

One thing in general that we need better UI for is attaching images. Things like image libraries and "webcams" are quite common these days, it'd be great to integrate with that. The mobile folks have looked into this, but I think it makes just as much sense for desktop.

There are actually standardized [1] ways for an <input type=file> element to indicate that it expects an image (accept="image/*"), we could use that to trigger a control that both allows easy access to camera/imagelibrary/clipboard, as well as shows a preview of the image.

Similarly accept="video/*" and accept="audio/*" can be used to trigger custom video/audio uploads.

/ Jonas

[1] http://www.whatwg.org/specs/web-apps/current-work/#attr-input-accept
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to