drag and drop image like gmail - drag-and-drop

how gmail does drag and drop of images. Many searches point to Gear. But it seems it should be installed in browser. But gmail does this with Gear installed in the client side. Could anyone explain it can be done.

HTML5 File API
http://www.w3.org/TR/FileAPI/

Related

Is it possible to drag&drop a file from filesystem to WinJS modern app?

I'm trying to use HTML5 drop event, but it doesn't seem to fire. I also get a crossed circle cursor when I'm trying to drag&drop a file. On the other hand drag&drop html elements works fine. Any suggestions? Is it a limitation for the modern windows apps?
In UWP (win10) it's possible to drag and drop content from another source to your app. When files are dropped in your app, you only have read access to that file though, not sure if that's enough for you.
Have a look at the XAML sample on how to implement drag and drop. API works the same for JS.
Martin

Will HTML5 drag and drop work in a Google Apps Script HtmlService?

I'm messing around with creating a user interface for a Google Apps Script project using an HTML Service, and I've had a request to include drag and drop functionality in this project. I know that there are limitations on these HTML services (I have scoured this document, and it looks like it's saying that native HTML5 drag and drop isn't supported: Google Apps Script HTML Service Restrictions). Even though the new HTML5 API's aren't officially supported, is there a way I can get drag and drop to work? If not through native HTML5, through an external javascript Library? Or will Caja break the functionality?
My first few attempts haven't worked, so I figured I'd jump on here and see if anyone has any success getting drag and drop to work though some method or another in Google Apps Script.
Thanks!
Does work correctly in gas. What have you tried? Draggable etc work just fine using jquery with htmlServices without any special code.

Drag Drop on IE9 like skydrive

Hi i've been looking for away to drag drop file upload. I know it possible to use html 5 file API to do this on other browser like chrome but not on IE 9. However i noticed that you can drag drop upload on the Sky-drive site using IE 9.
I was just wondering what they used to do this? I've got a feeling it might be silver-light but could be totally wrong.
If anyone could give me an insight that would be great thanks.
SkyDrive works with Silverlight, or uses HTML5 when available (Internet Explorer 10, Google Chrome, Firefox and Safari).
Since IE9 does not support HTML5, SkyDrive uses Silverlight on that browser.

Can't get hyperlinks to work on iPhone

I'm using Microsoft Outlook to build html email with inserted pictures (jpgs). When I apply a hyperlink to the images, they work fine on PCs running Outlook, Nook and iPod Touch. They don't work on iPhones. What happens on the iphone is when the hyperlinks are pressed, a screen comes up with several options like Copy, Print, Facebook..., but no Open like I see on an iPod Touch. I don't know how to correct this. Can anyone help?
Thanks
Have you checked the image type? Maybe it's not supported by iPhone.
Where does this image appear (web browser, email)? Some apps require specific command to fire an event on clicking.
If it's in mobile safari, is it a simple <a href link? http: protocol? Is it going anywhere that apple redirects (google maps, itunes, etc). or is it dependant on Javascript or flash?

iPhone code browser?

I want to be able to read code on my iPhone in the bus every day. Ideally, I'd like to be able to download a package, extract it to a folder, put it on the iPhone, and be able to just browse through the code (folders & files and all). Don't need to be able to edit, just read.
Is there a good solution for this? If there is not, could it be a good first project to teach myself iPhone development? or would it be too big a chunk for a first bite? (right now I mainly just do python web app development)
Thanks!
Check out the Airsharing app. When you run the app, it creates a server on your network (when sharing is enabled) and provides you an ip address you punch into a browser. You then upload files to the device via an ajax interface. Later on, you just open up the app and click the file you want to read and it displays on the screen. I've fiddled with it and it does preserve code highlighting.
You might also check out the new MobileMe iDisk app that just got released today. It looks like a slick way to share files between the iPhone and a Mac (and the cloud). You need to be a MobileMe subscriber, though.