Skip to content
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 request: allow drag and drop upload of images #7

Open
garbast opened this issue Mar 17, 2024 · 8 comments
Open

Feature request: allow drag and drop upload of images #7

garbast opened this issue Mar 17, 2024 · 8 comments
Labels
enhancement New feature or request

Comments

@garbast
Copy link

garbast commented Mar 17, 2024

When i edit a track i would love to be able to upload multipled images at once via drag and drop upload.

@Flomp Flomp added the enhancement New feature or request label Mar 18, 2024
@Flomp
Copy link
Owner

Flomp commented Mar 23, 2024

With the new release v0.2.0 you can now drag and drop photos into the photo section when creating/editing a trail.

@garbast
Copy link
Author

garbast commented Mar 25, 2024

Does not work. When i drag an image in the browser a dashed border appears. On drop i receive an exceptions in the dev tools console:

DOMException: A requested file or directory could not be found at the time an operation was processed.

@Flomp
Copy link
Owner

Flomp commented Mar 25, 2024

I cannot replicate this issue. I tested all current browsers on both arm64 and amd64. Can you provide more detail (kind of file, os, browser etc.)?

@garbast
Copy link
Author

garbast commented Mar 25, 2024

I cleared the browser cache and the error persists. As fare as i see the image do not get transfered. In the network tab no traffic gets triggered due to the drop of the image.

Chrome Version 123.0.6312.58 (Offizieller Build) (64-Bit)
Ubuntu 22.04.4 LTS
Image is a jpeg 2.9MB and attached
20240309_141612

@Flomp
Copy link
Owner

Flomp commented Apr 7, 2024

The image won't get uploaded before you save the trail. So it's definitely a client-side issue. I cannot replicate the issue with the attached photo either. Does it happen for all photos or just specific ones?

@garbast
Copy link
Author

garbast commented Apr 8, 2024

I think, the problem is again the large file size as mentioned in the other ticket where you explained the problem with the backend size limit.

@Flomp
Copy link
Owner

Flomp commented Apr 9, 2024

I don't think so, because, as mentioned, there is no server-side communication whatsoever when you drag a photo over.

@garbast
Copy link
Author

garbast commented Apr 14, 2024

You are right the error is locally. After some debugging, i can say, that it still happens with drag and drop but not with selecting via upload field and uploading that way.

All findings on google suggest that the error has something to do with the desktop i use. Im running Ubuntu 22.04 with gnome 42.9

I found an other tool, that drag and drop uploads, with the same error. transloadit/uppy#3505 Maybe the change is something related to wanderer? transloadit/uppy@65f2551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

2 participants