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

Image Suggester, but with URLs #357

Open
Pachtjuilaard opened this issue Jun 16, 2024 · 2 comments
Open

Image Suggester, but with URLs #357

Pachtjuilaard opened this issue Jun 16, 2024 · 2 comments
Labels
feature request New feature or request

Comments

@Pachtjuilaard
Copy link

Is your Feature Request Related to a Problem?

I'm always frustrated when I want to use this plugin to view a mix of locally stored images and image URLs.

Describe the Feature you'd Like

I would love to be able to use the Image Suggester to add a URL instead of an image file. Maybe there could be a text field in the Suggester Modal to paste an URL in, which could then display the image before confirming it.

Additional Context

Right now I'm using a meta-bind-js-view monster that checks if the image field in frontmatter contains "http". If true, it then creates a dataviewjs code block that embeds the image. If false, it uses the meta-bind image suggester. It... sort of works, but it's not elegant.

@Pachtjuilaard Pachtjuilaard added the feature request New feature or request label Jun 16, 2024
@mProjectsCode
Copy link
Owner

What exactly are you requesting? The ability to paste an HTTP(S) link in the image suggester modal, or allow HTTP(S) links as values for the option argument for image suggesters?

@Pachtjuilaard
Copy link
Author

I would like to paste an HTTP(S) link in the modal. I was thinking of something like this modal from the RPG Manager plugin, which presents an extra way to add an image using an url.

Scherm­afbeelding 2024-07-05 om 08 30 24

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

No branches or pull requests

2 participants