On windows systems when ImageMagick or NetPBM used, a blank page displays when one trying create thumbnails or resize images through ACP (Admin Control Panel)
To fix that open
includes/image_utils.phpFind:
1
| if (!@is_executable($convert_options['convert_path'])) { |
Replace with:
1 2 3 4 5 6
| /* FIX BLANK PAGE ON WINDOWS SYSTEMS ORIGINAL CODE: if (!@is_executable($convert_options['convert_path'])) { */ if (function_exists('is_executable') && !@is_executable($convert_options['convert_path'])) { |
(when ImageMagick used)
Find:
1
| if (!@is_executable($convert_options['convert_path']."/".check_executable("pnmscale"))) { |
Replace with:
1 2 3 4 5 6
| /* FIX BLANK PAGE ON WINDOWS SYSTEMS ORIGINAL CODE: if (!@is_executable($convert_options['convert_path']."/".check_executable("pnmscale"))) { */ if (function_exists('is_executable') && !@is_executable($convert_options['convert_path']."/".check_executable("pnmscale"))) { |
(when NetPBM used)