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

Crop images #11

Open
forrestcoward opened this issue Dec 20, 2023 · 1 comment
Open

Crop images #11

forrestcoward opened this issue Dec 20, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@forrestcoward
Copy link
Owner

Generated images are squares, but get stretched to fill the card. Consider cropping the images instead to keep the image sharp.

@forrestcoward forrestcoward added the enhancement New feature or request label Dec 20, 2023
@MBW91
Copy link

MBW91 commented Mar 30, 2024

That would be an awesome enhancement. For now I edit the html for the image container from <div loading="lazy" class="ant-image css-p7e5j5" style="width: 100%; height: 100%;"> to <div loading="lazy" class="ant-image css-p7e5j5" style="width: 100%; overflow: hidden;"> before I download the card. This will cut off a part of the bottom of the image.

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