Page 1 of 1

ImageMagick, no thumbnails

Posted: Mon 9. Aug 2004, 09:58
by rfriedl
Im Backend werden unter DATEI keine Thumbnails angezeigt. Das generieren der Thumbnails scheint zu klappen, es kommt zumindest keine Fehlermeldung. Wenn ich dann aber ins Verzeichnis PHPWCMS_TMP/THUMB_LIST (dorthin zeigt der kaputte <IMG>-Tag des Backend-Datei-Browsers) schaue finde ich dort keine einzige Datei.
Im Verzeichnis PHPWCMS_TMP/PREVIEW allerdings ist die Grafikdatei vorhanden.

Was tun ?? An was kann's liegen ??

Meine Konf.:
Windows XP SP1 Prof, IIS5, ImageMagick 6.0.4, PHP 4.3.8, MySQL 4.0.20

Meine CONF.INC.PHP:

Code: Select all

<?php

// database values
$phpwcms["db_host"]           = "localhost";
$phpwcms["db_user"]           = "robert";
$phpwcms["db_pass"]           = "robert";
$phpwcms["db_table"]          = "phpwcms3";
$phpwcms["db_prepend"]        = "";
$phpwcms["db_pers"]           = 1;

// site values
$phpwcms["site"]              = "http://pcw-200302003/";
$phpwcms["admin_email"]       = "info@mail.com";

// paths
$phpwcms["root"]         		= "phpwcms3";         //default: ""
$phpwcms["file_path"]         = "phpwcms_filestorage";    //default: "phpwcms_filestorage"
$phpwcms["file_tmp"]          = "phpwcms_tmp";     //default: "phpwcms_tmp"
$phpwcms["templates"]         = "phpwcms_template";    //default: "phpwcms_template"
$phpwcms["dir_thlist"]        = "thumb_list";   //default: "thumb_list"
$phpwcms["dir_preview"]       = "thumb_preview";  //default: "thumb_preview"
$phpwcms["content_path"]      = "content"; //default: "content"
$phpwcms["cimage_path"]       = "images";  //default: "images"
$phpwcms["ftp_path"]          = "phpwcms_ftp";     //default: "phpwcms_ftp"

// content values
$phpwcms["file_maxsize"]      = 2097152; //Bytes (50 x 1024 x 1024)
$phpwcms["content_width"]     = 538; //max width of the article content column - important for rendering multi column images
$phpwcms["img_list_width"]    = 100; //max with of the list thumbnail image
$phpwcms["img_list_height"]   = 75; //max height of the list thumbnail image
$phpwcms["img_prev_width"]    = 538; //max width of the large preview image
$phpwcms["img_prev_height"]   = 400; //max height of the large preview image
$phpwcms["max_time"]          = 1800; //logout after max_time/60 seconds

// other stuff
$phpwcms["compress_page"]     = 0; //0 = OFF, 1-9: page compression ON (1 = low level, 9 = highest level)
$phpwcms["imagick"]           = 2; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
$phpwcms["imagick_path"]      = ""; //Path to ImageMagick (default="" - none)
$phpwcms["use_gd2"]           = 1; //0 = GD1, 1 = GD2
$phpwcms["rewrite_url"]       = 0;  //whether URL should be rewritable
$phpwcms["wysiwyg_editor"]    = 1;  //0 = no wysiwyg editor, 1 = HTMLarea, 2 = FCKeditor, 3 = browser based
$phpwcms["phpmyadmin"]        = 1;  //enable/disable phpMyAdmin in Backend
$phpwcms["default_lang"]      = "de";  //default language
$phpwcms["charset"]           = "iso-8859-1";  //default charset 'iso-8859-1'
$phpwcms["allow_remote_URL"]  = 0;  //0 = no remote URL in {PHP:...} replacement tag allowed, 1 = allowed
$phpwcms["gt_mod"]            = 0;  //0 = Graphical Text MOD disabled, 1 = enabled

// dynamic ssl encryption engine
$phpwcms["site_ssl_mode"]     = '0'; // tuns the SSL Support of WCMS on(1) or off (0) DEFAULT '0'
$phpwcms["site_ssl_url"]      = '';  //URL assigned to the SSL Certificate. DON'T add a slash at the End! Exp. "https://www.yourdomainhere.tld"
$phpwcms["site_ssl_port"]     = '443'; //The Port on which you SSL Service serve the secure Sites. Servers DEFAULT is '443'

// smtp values
$phpwcms['SMTP_FROM_EMAIL']   = 'info@mail.com'; // reply/from email address
$phpwcms['SMTP_FROM_NAME']    = 'phpwcms webmaster'; // reply/from name
$phpwcms['SMTP_HOST']         = 'localhost'; // SMTP server (host/IP)
$phpwcms['SMTP_PORT']         = 25; // SMTP-Server port (default 25)
$phpwcms['SMTP_MAILER']       = 'mail'; // default phpMailer: smtp, mail (default), sendmail
$phpwcms['SMTP_AUTH']         = 0; // sets SMTP_AUTH to ON/OFF
$phpwcms['SMTP_USER']         = ''; // default SMTP login (user) name
$phpwcms['SMTP_PASS']         = ''; // default SMTP password


// Try to check and uncomment the DOCUMENT_ROOT if you have problems 
// often neccessary on IIS or default MacOS X webserver settings
// Do not use backslash "\" on Windows - always replace "\" by "/"
//$_SERVER['DOCUMENT_ROOT']     = '';

define ("PHPWCMS_ROOT","d:/inetpub/".$phpwcms["root"]) ;
?>

Posted: Mon 9. Aug 2004, 10:01
by Pappnase
hallo

schau dochmal bitte unter phpwcms_filestorage/1 nach.
zeigt er dir denn was im backend unter dateizentrale -> datei -> eigene an?

Posted: Mon 9. Aug 2004, 10:10
by rfriedl
Ja, die Datei finde ich unter PHPWCMS_FILESTORAGE/1 !! Ist da !!
Der Eintrag im Backend unter DATEI/EIGENE ist auch vorhanden, lediglich das Vorschaubildchen unter dem Dateinamen kann nicht angezeigt werden (Quadrat mit nem roten Kreuzchendrin).

Re: ImageMagick, no thumbnails

Posted: Mon 9. Aug 2004, 12:31
by DeXXus
rfriedl wrote:Meine CONF.INC.PHP:

Code: Select all

$phpwcms["imagick"]           = 2; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9

Code: Select all

$phpwcms["imagick"]           = 1; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9

Re: ImageMagick, no thumbnails

Posted: Mon 9. Aug 2004, 12:36
by Pappnase
DeXXus wrote:
rfriedl wrote:Meine CONF.INC.PHP:

Code: Select all

$phpwcms["imagick"]           = 2; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9

Code: Select all

$phpwcms["imagick"]           = 1; //0 = GD,  1 = ImageMagick, 2 = ImageMagick 4.2.9
hello dex

as you can see in the conf.inc.php he have the settings. the problem is that he only will see a redcross in the previews.

Posted: Mon 9. Aug 2004, 13:50
by DeXXus
If his settings say to use ImageMagick 4.2.9 and he has ImageMagick 6.0.4... then perhaps his conversion is not working right because the commands/routines chosen by phpWCMS are not correct for this version?

Just GUESSING :?

Posted: Mon 9. Aug 2004, 13:52
by Pappnase
DeXXus wrote:If his settings say to use ImageMagick 4.2.9 and he has ImageMagick 6.0.4... then perhaps his conversion is not working right because the commands/routines chosen by phpWCMS are not correct for this version?

Just GUESSING :?
ahh ok dex! sorry!