We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Right now seems like we are doing our own scaling procedure to keep the ratio when Limit Image Dimensions with max width/height is on.
I would suggest wp_constrain_dimensions like we do here https://github.com/Codeinwp/optimole-wp/blob/master/inc/url_replacer.php#L255C46-L255C69
Discovered this while looking on #675
No.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
What problem does this address?
Right now seems like we are doing our own scaling procedure to keep the ratio when Limit Image Dimensions with max width/height is on.
What is your proposed solution?
I would suggest wp_constrain_dimensions like we do here https://github.com/Codeinwp/optimole-wp/blob/master/inc/url_replacer.php#L255C46-L255C69
Discovered this while looking on #675
Will this feature require documentation? (Optional)
No.
The text was updated successfully, but these errors were encountered: