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 cover images with standard Markdown format #316

Open
Azona77 opened this issue Aug 27, 2024 · 3 comments
Open

Support cover images with standard Markdown format #316

Azona77 opened this issue Aug 27, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Azona77
Copy link

Azona77 commented Aug 27, 2024

Migrating from other gallery plugins, my embeded image written in standard Markdown format fail to display as cover in Grid View.

  • ![image](path) 👈this fail to display
  • ![[path]] 👈this is ok

I use wiki links elsewhere, but some of my notes are created externally and do not support wiki link templates.

So if it supports standard Markdown format, it will have better compatibility like other gallery plugins.

@decaf-dev decaf-dev added the bug Something isn't working label Sep 9, 2024
@decaf-dev
Copy link
Owner

decaf-dev commented Sep 9, 2024

I have seen a gallery plugin that uses that syntax. Where are you placing your links? In the frontmatter or in the body of the notes? Or both?

@Azona77
Copy link
Author

Azona77 commented Sep 10, 2024

I have seen a gallery plugin that uses that syntax. Where are you placing your links? In the frontmatter or in the body of the notes? Or both?

Tried both

  • The ![image](path) syntax only works for online images when used in the body of the text, displaying correctly as a cover image (regardless of whether the "Load social media image" option is enabled). However, it doesn't work with local image paths (neither relative nor absolute paths).
  • The ![[path]] syntax works correctly for local images, both in the body of the text and in the frontmatter.

@Azona77
Copy link
Author

Azona77 commented Nov 26, 2024

Yet not fixed.

(I mistakenly thought it was fixed automatically because of fetching web images)

@Azona77 Azona77 closed this as completed Nov 26, 2024
@Azona77 Azona77 reopened this Nov 26, 2024
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