-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Support Drag & Drop of images from other browser windows into RoomView #3015
Comments
This should be doable - Google Image Search already supports it. It's probably a very easy modification to the DND code to accept images from browsers as well as boring old files. |
Current balance: 0.0 ETH |
I started to have a look at this but hit a roadblock. I had a look at how google does this. They forward the url of the image to their server to be uploaded. Does riot have such an upload endpoint as well? |
We don't have such an endpoint today. This could be implemented by adding a method to the media repository to support ingesting a piece of content from a provided URL rather than the request body. We would need to think very carefully about what we were doing to make sure nobody could do anything nasty (e.g. have us DOS services on their behalf, or gain privilidged access to our systems by initiating HTTP requests from within our network). That said, we've already considered these issues for our implementation of the URL preview feature, so it shouldn't be too hard to apply to this feature, too. |
@lampholder Ok that makes sense. So where/what actually is the media repository and how can I make changes to it? Some guidance would be helpful. I could probably get this issue and #1953 done together. |
@monokh @lampholder |
@GlulkAlex it has already implemented in |
@GlulkAlex The issue is that files are possible but dragging and dropping images from a web page is not. |
@monokh you mean something like Recommended_drag_types |
This would be really cool! Also, if we could have Drag & Drop for URLs too (that aren't images) being pasted into chat? |
@gotmyname2018 yeah. I am working on it in free time, a bit stuck in synapse part, but it's really close to be published :) |
@oivoodoo is this still being worked on? |
Still interested in this! |
@BloodyIron I'm not sure how much progress has been made but I'm more than happy to give it a shot. |
Hi
if you have enough time it would be better to give a try to work on the
feature.
Thank you!
…On 12 May 2018 at 00:36, Georgie Mathews ***@***.***> wrote:
@BloodyIron <https://github.com/BloodyIron> I'm not sure how much
progress has been made but I'm more than happy to give it a shot.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3015 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADUxUjXkJigTyMyNMX7CD1K6DtHUaUUks5txgRvgaJpZM4LqLKQ>
.
--
Best Regards,
Alexandr
skype: oivoodoo
|
Implemented! You can check the status here: matrix-org/matrix-react-sdk#1893 |
@georgiemathews awesome! :D |
@BloodyIron , you're better of tracking the progress already made here: matrix-org/matrix-react-sdk#1689 by @oivoodoo |
Any word on this? D: |
the pull request was closed as I remember because of requirements to have
API changes that is still in proposal state.
…On Tue, 17 Sep 2019 at 01:10, BloodyIron ***@***.***> wrote:
Any word on this? D:
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3015>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAANJRLY2DHRVKDLQIPYFEDQKAG47ANCNFSM4C5IWKIA>
.
--
Best Regards,
Alexandr
skype: oivoodoo
|
openbounty.status.im seems dead, I hope nobody sent any ETH there? This was archived: https://github.com/status-im/open-bounty |
Any chance we can get this feature going? |
I would love to help, need to review the recent changes on the backend, in
case if it's possible to implement I will finish it. Going to review it
today.
|
This appears to have been fixed at some point. Just dragged someone's random avatar to a DM and it uploaded fine. |
Not working on Element Nightly on macOS at least |
(works on nightly for Windows) |
It would be nice if you can drag an Image from a website and drop it into the chat view and have it uploaded.
I do not know if this is possible, but it would make the channel with my wife sooo mich nicer, because I could upload the images/gifs directly via d'n'd and would not need to safe them localy.
The text was updated successfully, but these errors were encountered: