[GH-ISSUE #12] image uploading doesn't appear to work #10

Closed
opened 2026-03-02 11:45:37 +03:00 by kerem · 6 comments
Owner

Originally created by @asg0451 on GitHub (Mar 27, 2024).
Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/12

when i paste or drag an image into the "save" box, nothing happens. no console errors. chrome on mac

EDIT: i see it works from mac screenshot thing, but not from copy/paste or dragging from chrome. how is this feature intended to be used?

Originally created by @asg0451 on GitHub (Mar 27, 2024). Original GitHub issue: https://github.com/karakeep-app/karakeep/issues/12 when i paste or drag an image into the "save" box, nothing happens. no console errors. chrome on mac EDIT: i see it works from mac screenshot thing, but not from copy/paste or dragging from chrome. how is this feature intended to be used?
kerem closed this issue 2026-03-02 11:45:37 +03:00
Author
Owner

@asg0451 commented on GitHub (Mar 27, 2024):

also, i see this warning in the logs. is this ok?

 hoarder  ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production      
<!-- gh-comment-id:2021879573 --> @asg0451 commented on GitHub (Mar 27, 2024): also, i see this warning in the logs. is this ok? ``` hoarder ⨯ Error: 'sharp' is required to be installed in standalone mode for the image optimization to function correctly. Read more at: https://nextjs.org/docs/messages/sharp-missing-in-production ```
Author
Owner

@MohamedBassem commented on GitHub (Mar 27, 2024):

This is how it's supposed to look like:

https://github.com/MohamedBassem/hoarder-app/assets/2418637/5dbc66f3-e62e-4c3b-be4a-024356e905bb

You get a visual indication that you're dragging stuff and when you drop them, they'll get uploaded. I've not implemented copy pasting though, I'll check if it's possible to implement.

I think beside drag and dropping, I can also add a button in the editor card that opens the file picker for a more reliable way to upload stuff.

<!-- gh-comment-id:2022113158 --> @MohamedBassem commented on GitHub (Mar 27, 2024): This is how it's supposed to look like: https://github.com/MohamedBassem/hoarder-app/assets/2418637/5dbc66f3-e62e-4c3b-be4a-024356e905bb You get a visual indication that you're dragging stuff and when you drop them, they'll get uploaded. I've not implemented copy pasting though, I'll check if it's possible to implement. I think beside drag and dropping, I can also add a button in the editor card that opens the file picker for a more reliable way to upload stuff.
Author
Owner

@asg0451 commented on GitHub (Mar 27, 2024):

Ah I see. That sounds great, thanks!

This is a really cool project, seems well architected and I'd love to help out. But I'm a backend dev and idk ts 🤷 😂

<!-- gh-comment-id:2023243965 --> @asg0451 commented on GitHub (Mar 27, 2024): Ah I see. That sounds great, thanks! This is a really cool project, seems well architected and I'd love to help out. But I'm a backend dev and idk ts 🤷 😂
Author
Owner

@MohamedBassem commented on GitHub (Mar 27, 2024):

@asg0451 Thanks!

Btw, I'm also a infrastructure engineer (and has been for the past 7 years). Had to learn a lot of stuff for this project :)

<!-- gh-comment-id:2023281010 --> @MohamedBassem commented on GitHub (Mar 27, 2024): @asg0451 Thanks! Btw, I'm also a infrastructure engineer (and has been for the past 7 years). Had to learn a lot of stuff for this project :)
Author
Owner

@asg0451 commented on GitHub (Mar 27, 2024):

that's really impressive, it looks great! the last time i made a frontend it looked... let's say retro ;)

<!-- gh-comment-id:2023294944 --> @asg0451 commented on GitHub (Mar 27, 2024): that's really impressive, it looks great! the last time i made a frontend it looked... let's say retro ;)
Author
Owner

@MohamedBassem commented on GitHub (Mar 30, 2024):

The sharp error got fixed in 48169a0.

<!-- gh-comment-id:2027877908 --> @MohamedBassem commented on GitHub (Mar 30, 2024): The `sharp` error got fixed in 48169a0.
Sign in to join this conversation.
No milestone
No project
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
starred/karakeep#10
No description provided.