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

How to move attached images to Unused resources? #4217

Open
dream7180 opened this issue Dec 21, 2024 · 1 comment
Open

How to move attached images to Unused resources? #4217

dream7180 opened this issue Dec 21, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dream7180
Copy link

Describe the bug

In version 0.22.5, when I delete an image, the image will be moved to Unused resources. But in v0.23, image seems disappeared after removed. I used to insert the attached imgs into the content and then remove them from attachments, I don't like images to be showed both in the article and in the attachment (redundant & very boring).

Steps to reproduce

N/A

The version of Memos you're using

0.23

Screenshots or additional context

No response

@dream7180 dream7180 added the bug Something isn't working label Dec 21, 2024
@RoccoSmit
Copy link
Contributor

RoccoSmit commented Dec 21, 2024

The Unused resources section is where uploaded resources are listed that are waiting for their memo to be saved so they can be attached to the memo. If you end up not saving the memo or removing the resource before saving the memo the resources stay in the Unused resources section.

When you are removing resources from saved memos (these resources are not in the Unused resources section) by updating the memo, removing the image and saving, those resources are removed from your app completely. I was under the impression this has been the behaviour for a while and don't recall any changes to how deleted files work since v0.22.5. Change list.

Your way of uploading images and using their URLs to add them inline should still work as expected, just make sure you dont save the memo while the image is attached or it will be removed when you edit and remove in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants