Hello, I'm using Firefox 3.0 and it's working fine.. When i drag and drop an image, i can see the image dimensions, file size and extension. The next step is to display the image(s). How to display the image from the "file.blob" ? Is there any GoogleGears method to display image or thumbnail or do i need to use external javascript library to display the content ?
Regards Fred On 2 juin, 08:36, Peter <[email protected]> wrote: > Not sure where my last message went, but I want to confirm Manu's > findings that this sample does not work in Firefox. The following is > returned: > > { "count": 0, "totalBytes": 0, "extensions": [], "mimeTypes": [], > "files": [] } > > On May 31, 2:57 pm, Manu J <[email protected]> wrote: > > > > > I'm using the new DragDrop api > > usinghttp://code.google.com/p/gears/source/browse/trunk/gears/test/manual/... > > > as reference. inf firefox this > > > var data = desktop.getDragData(event, 'application/x-gears-files'); > > > will result in an empty data object even if the dragdrop is > > successull. ie > > data.files = [], data.count = 0 etc. > > > The same code works fine on Safari 4 beta
