[Webkit-unassigned] [Bug 25906] Need a way to get a preview image/icon from a File object

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 21 03:09:34 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25906


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mjs at apple.com




------- Comment #1 from eric at webkit.org  2009-05-21 03:09 PDT -------
Maciej suggested that another way to solve the same problem would be to allow:

imageElement.src = fileObject;

As though dropping a file on a page (thus granting the page permission to use
it) would also extend to allowing HTMLImageElements to load such an image and
display it.  I think that might even be a slicker solution.  Especially if we
expose the mimeType on the File object so you can check first before you do the
imageElement.src = fileObject;


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list