Skip to content

Displaying images as-is #811

Answered by markdumay
Aman-Aalam asked this question in Help
Feb 29, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can find the ratios here: https://gethinode.com/docs/components/image/#arguments

If you do not specify the ratio, the original aspect ratio should be maintained. You might want to adjust the corner ratio though (by default, images are rounded). For example, add the following to assets/scss/theme/theme.scss to remove all rounding from regular images:

img.rounded {
    --bs-border-radius: 0;
}

If the original aspect ratio is not preserved, would you mind sharing a (minimal) example so I can reproduce the issue and investigate it?

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Aman-Aalam
Comment options

Answer selected by Aman-Aalam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants