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

Support for inserting images that already exist in Space #508

Open
3 tasks done
syfxlin opened this issue Jan 22, 2024 · 1 comment
Open
3 tasks done

Support for inserting images that already exist in Space #508

syfxlin opened this issue Jan 22, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@syfxlin
Copy link

syfxlin commented Jan 22, 2024

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing requests and didn't find any that were similar
  • I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

Anytype can insert an image into Space by Picture menu and display the image content. However, sometimes we may refer to an existing image in Space, but currently the Picture menu does not allow us to select an image that already exists in Space, and if we insert an image by Add link, the image content will not be displayed.

image

Suggested solution

Please provide a function in the Picture menu to select an image that already exists in Space.

Alternative

Displaying the image content of an image inserted using the Add link.

Additional context

The same problem occurs with other types of attachments, such as File or PDF.

@syfxlin syfxlin added the enhancement New feature or request label Jan 22, 2024
@jberstler
Copy link

+1 for this.

I think the right UX here might be something like this:
slice1

Clicking the "Select an existing picture" link could bring up the standard search modal (though pre-filtered to picture objects). Even better would be if the filtered images showed as a small 2-column grid in the search modal:
search modal

You could also consider instead using the existing /picture UX and requiring the user to paste the link obtained by opening the existing picture object and copying its link, but this is more tedious than using the search modal.

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
None yet
Development

No branches or pull requests

2 participants