PhilippHeuer / wordpress-heroku

This project is a template for installing and running WordPress 5.x on Heroku.
MIT License
273 stars 316 forks source link

Image sizes not respected #41

Closed smth closed 4 years ago

smth commented 4 years ago

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:

add_image_size( 'my-img-size', 2600, 1800, true );
smth commented 4 years ago

Ah, there was no GD extension. Fixed by requiring in Composer.