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

pictures: set resizing strategy via frontmatter #39

Open
davidsneighbour opened this issue Aug 25, 2022 · 0 comments
Open

pictures: set resizing strategy via frontmatter #39

davidsneighbour opened this issue Aug 25, 2022 · 0 comments
Assignees
Labels
module:pictures state:confirmed This issue is confirmed. type:enhancement New enhancements and features.

Comments

@davidsneighbour
Copy link
Owner

The idea is to set the resizing strategy via front matter cascade per section. On kollitsch.dev images look skewed now, because the strategy was set to resize, which shamelessly stretches weird image sizes. Better be .Fit by default and .Resize via front matter or something like that. Right now it looks "sucky".

There seem to be issues with .Fit and cutting off things around the image, but it seems to be a better fit for the overall design... or .Resize with only a width?

@davidsneighbour davidsneighbour self-assigned this Aug 25, 2022
@davidsneighbour davidsneighbour changed the title set resizing strategy via frontmatter hugo-pictures: set resizing strategy via frontmatter Apr 3, 2023
@davidsneighbour davidsneighbour transferred this issue from davidsneighbour/hugo-pictures Apr 3, 2023
@davidsneighbour davidsneighbour changed the title hugo-pictures: set resizing strategy via frontmatter pictures: set resizing strategy via frontmatter May 23, 2024
@davidsneighbour davidsneighbour added state:unconfirmed This issue needs to be reproduced. module:pictures state:confirmed This issue is confirmed. type:enhancement New enhancements and features. and removed module:pictures state:unconfirmed This issue needs to be reproduced. labels Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module:pictures state:confirmed This issue is confirmed. type:enhancement New enhancements and features.
Projects
None yet
Development

No branches or pull requests

1 participant