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

No crop if image hasn't the exact declared size #40

Open
vslonska opened this issue Nov 22, 2017 · 0 comments
Open

No crop if image hasn't the exact declared size #40

vslonska opened this issue Nov 22, 2017 · 0 comments

Comments

@vslonska
Copy link

vslonska commented Nov 22, 2017

Hello,

I noticed that if I have a custom image size of 1200X630px declared in the theme, if the real size is 950*630px for example (if I upload an verical image of 950X1000px), this thumbnail isn't re-cropped by this plugin. It does only if the image is 1200X630px exactly.

The image size is declared width : add_image_size( 'opengraph', 1200, 630, true );

Thanks for your help,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant