-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature] Imageupload via Drag & Drop #28
Comments
That would be too simple. You need at least to specify the hosting service (StackEdit doesn't provide online storage). What's wrong with the Google+ popup? That's only 3 clicks! |
First of all: in my opinion, when it comes to get things done, there is no "too simple" way. Thats what I love about Google Drive. You just drag the image into the editor and there it is. Concerning the hosting service. There are a lot of free image hosters out there. A user could select which he wants in the preferences. And that doesn't mean the Google+ popup is replaced. |
Would it be possible to just save the image in the same local storage location as the MD file itself? Although I suppose that would make the syncing through Google Drive difficult... |
Yes, images can be stored on client side and displayed using data URI and even embedded in the Markdown, see this link. The problem: large images take large amount of space in the local storage and the textarea would be unusable if they were embedded in Markdown. |
Fixed. Image hosting is provided by Picasa/Google+. The upload is actually relayed to an heroku web app because google photo API doesn't support CORS. So it can take a while especially if the dyno is sleeping. |
Awesome! I also proposed some hosting specific improvements here #41 |
For writing documents with images it would be very handy to upload images via drag&drop. So simply drag a image on the textarea and the file automatically gets uploaded to an image hoster.
The text was updated successfully, but these errors were encountered: