4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 30, 2010, 04:37:17 AM

Login with username, password and session length
Search:     Advanced search
Translate this page with google
=>
 Translate this page with Google =>
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Help / Hilfe
| |-+  Bug Fixes & Patches
| | |-+  [1.7 / 1.7.1] Blank page when trying create thumbnails.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: [1.7 / 1.7.1] Blank page when trying create thumbnails.  (Read 10117 times)
V@no
If you don't tell me what to do, I won't tell you where you should go :)
Administrator
4images Guru
*****
Offline Offline

Posts: 17088

Thank You
-Given: 21
-Receive: 191

mmm PHP...


View Profile WWW
« on: March 12, 2005, 08:02:20 PM »

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:
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)
« Last Edit: March 13, 2005, 03:37:23 AM by V@no » Logged

Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
piqs.de - Fotocommunity & lizenzfreie Fotos