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

Cover image fill #244

Closed
decaf-dev opened this issue Jul 25, 2024 · 4 comments
Closed

Cover image fill #244

decaf-dev opened this issue Jul 25, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@decaf-dev
Copy link
Owner

Also, I hope that the Grid view supports displaying the first image in the note, not just the image link in the image attribute.
And I hope that images can be set to display in a specific way: constrain(maintain aspect ratio) or fill (horizontally tile):
image

image


Additionally, I would like to provide an alternative option to display using title instead of the file name. But this one is not very important I think... 🤔

Originally posted by @Moyf in #40 (comment)

@decaf-dev decaf-dev added the enhancement New feature or request label Jul 26, 2024
@decaf-dev decaf-dev changed the title Features for cover image Cover image fill Jul 27, 2024
@decaf-dev
Copy link
Owner Author

@Moyf Do you already have a property configured for your vault for "fill"?

@Moyf
Copy link

Moyf commented Jul 28, 2024

@Moyf Do you already have a property configured for your vault for "fill"?

I have an image property, but most of my notes just use the first image in note.

And now I see the image is filled, you have added this feature already?
image

@decaf-dev
Copy link
Owner Author

decaf-dev commented Jul 30, 2024

@Moyf I use the object-fit css property. It is set to cover. However, this might not be the best display for all images.

@decaf-dev decaf-dev mentioned this issue Aug 7, 2024
@decaf-dev
Copy link
Owner Author

@Moyf Added in 1.41.0.

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