I recently tried creating a new image style that included a Desaturate effect and a Scale effect. Neither effect was applied to the Preview image on the admin screen.

According to the admin/config/media/image-toolkit page, the GD toolkit is installed and working properly.

I'm running:

Apache/2.2.11 (Unix) DAV/2 mod_ssl/2.2.11 OpenSSL/0.9.8l PHP/5.2.9 mod_perl/2.0.4 Perl/v5.10.0

Is there another setting I need to tweak before the Image Style Previews work properly?

Comments

mindbat’s picture

These are the two error messages I see in the watchdog:

Type image
Date Wednesday, March 24, 2010 - 17:19
User admin
Location http://localhost/admin/config/media/image-styles/edit/test_style?render=...
Referrer http://localhost/admin/config/media/image-styles/edit/test_style?render=...
Message Image desaturate failed using the gd toolkit on modules/image/sample.png (image/png, 600x600)
Severity error
Hostname 127.0.0.1
Operations

Type image
Date Wednesday, March 24, 2010 - 17:19
User admin
Location http://localhost/admin/config/media/image-styles/edit/test_style?render=...
Referrer http://localhost/admin/config/media/image-styles/edit/test_style?render=...
Message The image modules/image/sample.png could not be desaturated because the imagefilter() function is not available in this PHP installation.
Severity notice
Hostname 127.0.0.1
Operations

eojthebrave’s picture

Status: Active » Closed (duplicate)

Marking as a duplicate of #758628: Improve GD library hook_requirements() for color and image modules. This issue is older but that one has a patch.