Closed smth closed 4 years ago
Custom images sizes set with add_image_size in my theme don't seem to be respected. Images instead have the original dimensions of the uploaded file.
add_image_size
With a Sage based theme, configure an image size in setup.php, something like:
add_image_size( 'my-img-size', 2600, 1800, true );
Ah, there was no GD extension. Fixed by requiring in Composer.
Description of your issue
Custom images sizes set with
add_image_size
in my theme don't seem to be respected. Images instead have the original dimensions of the uploaded file.Steps to Reproduce
With a Sage based theme, configure an image size in setup.php, something like: