4images Help / Hilfe > Bug Fixes & Patches
[1.7 / 1.7.1] Blank page when trying create thumbnails.
(1/1)
V@no:
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.php
Find:
--- Code: --- if (!@is_executable($convert_options['convert_path'])) {
--- End code ---
Replace with:
--- Code: ---/*
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'])) {
--- End code ---
(when ImageMagick used)
Find:
--- Code: --- if (!@is_executable($convert_options['convert_path']."/".check_executable("pnmscale"))) {
--- End code ---
Replace with:
--- Code: ---/*
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"))) {
--- End code ---
(when NetPBM used)
Navigation
[0] Message Index
Go to full version