You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Image uploader to GitHub fails for copy/pasted image #2347
Drag&drop of a local image file property works fine and uploads to GH.
Pasting image from clipboard fails and is replaced with local image path.
Expected behavior:
Pasted image should be saved temporarily with some name (similarly to how files are named when uploaded to GH from local files), then uploaded, finally replaced in the markdown.
Actual behavior:
Upload fails and just the local file path is saved in the markdown.
Versions
Mark Text version: v0.16.2
Operating system: Windows 10 Pro 20H2, 19042.508
Reacted by Lewis, Gryffindor-anatman, Burhanuddin Udaipurwala, BeBubble, Guanliang MENG, YalandHong, Haixiang Zhang, Readme0, synergic777, greenhandlwh and 1 more
Sorry for the direct ping. Just sent you a beer or two via PayPal, hoping that fixing this doesn't take a whole lot more than it takes to finish the drinks, hehe. Thanks a lot! 🙏
Same, if I could just find logs, this would be a lot easier to debug. Did you make any progress on this by chance @kzu? I put in a PR about using OAuth and handling this 100% for the user at #2364.
Running into the same issue. I drag and drop the images from explorer to Marktext. It will save them in a local assets folder but not upload to GitHub nor to SM.MS
seems like this package isn't maintained any more. Do you have a suggestion for a different package?
Activity
kzu commentedon Sep 23, 2020
@Jocs I looked at your original PR introducing the feature, and I can't seem to find any logs or obvious mistakes. Images for local files are properly uploading to https://github.com/kzu/img (it's public even), so I'm thinking something specific to the pasting is involved here.
Sorry for the direct ping. Just sent you a beer or two via PayPal, hoping that fixing this doesn't take a whole lot more than it takes to finish the drinks, hehe. Thanks a lot! 🙏
ctjlewis commentedon Oct 17, 2020
Same, if I could just find logs, this would be a lot easier to debug. Did you make any progress on this by chance @kzu? I put in a PR about using OAuth and handling this 100% for the user at #2364.
kzu commentedon Oct 20, 2020
Nope, no fix or workaround :(
lichever commentedon Jan 2, 2022
I met the same issue. Is there any workaround or fix on this bug?
ctjlewis commentedon Jan 2, 2022
No fix. The workaround is to use different software.
KoenVanduffel commentedon Jan 2, 2022
Running into the same issue. I drag and drop the images from explorer to Marktext. It will save them in a local assets folder but not upload to GitHub nor to SM.MS
seems like this package isn't maintained any more. Do you have a suggestion for a different package?
Jocs commentedon Jan 14, 2022
@kzu @ALL Very sorry for replying now, I will update sm and Github image uploader over the weekend
Jocs commentedon Jan 16, 2022
A PR is submited to fix this issue.
WenHv587 commentedon Jul 19, 2022
It hasn't been fixed yet?