-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Images lock aspect ratio not function #548
Comments
The default template has a max width of 525px. Any image size beyond this will get squished. You can edit the default template and change this or increase the width of the template if you want wider images: img {
max-width: 100%;
} to max-width: 100%;
height: auto; |
I also found out, that this is the solution. |
Is there also a way to keep (crop) to the aspect ratio that was entered via the editor? For example I'd like to crop to a common feature image size of 1200x628px. That is written in the html, but if the image itself is of another aspect ratio, this is not respected. I know |
If you want to maintain the dimensions you entered in the editor, you can remove the |
I want to have aspect ratio, but the dimension itself, as it would be way too large. Not sure if that is possible |
Version:
Description of the bug and steps to reproduce:
Screenshots:
Possible Solutions
The text was updated successfully, but these errors were encountered: