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

Set Featured Images does not consider using an external image URL inside an existing frontmatter #9

Open
AMC-Albert opened this issue Jan 14, 2025 · 3 comments

Comments

@AMC-Albert
Copy link

AMC-Albert commented Jan 14, 2025

Let's say I have a note with a frontmatter property like feature: https://external/image.jpg, which already has an external image URL before I've run Set Featured Images. This comes from a note created by Obsidian Clipper, in my case.

The Featured Image plugin will not consider this URL as a valid source to download a thumbnail from, and will even remove the property if it doesn't find another valid source in the note content.

@johansan
Copy link
Owner

Hello. The plugin does not consider image links in Frontmatter since they are only metadata, not part of the actual visible document. If you don't want it to replace your "feature:" tag you can change the property name in Featured Image.

@AMC-Albert
Copy link
Author

I would like the "feature" property to be replaced by a local version downloaded by this plugin. This would allow my clippings from Obsidian Web Clipper to explicitly define the featured image, essentially passing the URL to the plugin, and the plugin downloads the local version. Doing this through the property itself instead of the first image in the note would save a bit of hassle.

@johansan
Copy link
Owner

johansan commented Feb 5, 2025

I will consider this for future releases, I don't want the plugin to grow too complex with too many settings and options. Thanks!

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

No branches or pull requests

2 participants