bolt / thumbs

Thumbnail handler for Bolt Images
12 stars 16 forks source link

Throw exception if GD isn't installed correctly #37

Closed CarsonF closed 7 years ago

AbeEstrada commented 7 years ago

I just want to add some reference here of my problem #36.

I had GD installed and enabled, but I didn't install libjpeg and the code wasn't able to run imagecreatefromstring with a .jpg file. So the code must check for GD and if it has support for all the required type of images, maybe using gd_info().

GwendolenLynch commented 7 years ago

gd is now required by bolt/bolt and @bobdenotter has included a check in bolt/config-notices