3
15
Fork
You've already forked yambs
1

Maybe support automatically downloading cover art #38

Open
opened 2023年10月29日 01:13:44 +02:00 by derat · 1 comment
Owner
Copy link

As discussed in #37 and at https://connect.mozilla.org/t5/ideas/drag-and-drop-images-from-one-web-page-to-anothor/idi-p/8075, Firefox apparently doesn't support dragging an image from one tab and dropping it in another. This makes it painful to add new releases, since you need to download cover art before uploading it.

If Mozilla doesn't address this soon, maybe adding an "Auto-download cover art" checkbox would save a few clicks in this case. It might be tricky to implement: https://stackoverflow.com/q/49736214 suggests that Firefox and Chrome 65+ only support same-origin download links, so the yambs server may not be able to force a download of an image served from e.g. https://f4.bcbits.com (in the case of Bandcamp).

As discussed in #37 and at https://connect.mozilla.org/t5/ideas/drag-and-drop-images-from-one-web-page-to-anothor/idi-p/8075, Firefox apparently doesn't support dragging an image from one tab and dropping it in another. This makes it painful to add new releases, since you need to download cover art before uploading it. If Mozilla doesn't address this soon, maybe adding an "Auto-download cover art" checkbox would save a few clicks in this case. It might be tricky to implement: https://stackoverflow.com/q/49736214 suggests that Firefox and Chrome 65+ only support same-origin download links, so the yambs server may not be able to force a download of an image served from e.g. https://f4.bcbits.com (in the case of Bandcamp).
Author
Owner
Copy link

This recent comment suggests that Firefox might support image drag-and-drop after setting dom.events.dataTransfer.imageAsFile.enabled.

[This recent comment](https://connect.mozilla.org/t5/ideas/drag-and-drop-images-from-one-web-page-to-anothor/idi-p/8075) suggests that Firefox might support image drag-and-drop after setting `dom.events.dataTransfer.imageAsFile.enabled`.
Sign in to join this conversation.
No Branch/Tag specified
main
dupe_release
tidal2
tidal2_unsquashed
tips
tutorial
edit_existing
v0.1.15
v0.1.14
v0.1.13
v0.1.12
v0.1.11
v0.1.10
v0.1.9
v0.1.8
v0.1.7
v0.1.6
v0.1.5
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
derat/yambs#38
Reference in a new issue
derat/yambs
No description provided.
Delete branch "%!s()"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?