Error when upload image file
Posted: Fri 17. Mar 2006, 03:34
I upload images file but I get error like this:

I don't have GD2 on server. Is that cause?

I don't have GD2 on server. Is that cause?
The phpwcms support forum will help to find answers to your questions. The small but strong community is here since more than 10 years.
https://forum.phpwcms.org/
// other stuff
$phpwcms["imagick"] = 0; //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
$phpwcms["use_gd2"] =0; //if 0 = GD1, 1 = GD2
GD1 -or- GD2 -or- ImageMagick REQUIREDBefore you begin...
phpWCMS has a few requirements some of which are optional. They are listed as follows...
Sufficient Webspace
PHP 4.2.1 or better
(recommended 4.3.x)
MySQL
GD 1 or GD 2 (Optional)
Freetype, for use with the Graphical Text module
Image Magick
Ghostscript (recommended)
Please use phpinfo() link in Admin backend (or WAMP/PHP Triad equivalent) to confirm that GD support is "recognized". If it IS, then "config.inc.php" setting above must be set to "0" for ImageMagick AND whichever GD version is installed must be set to as described below:allison wrote:I have already found the way to install GD2 on localhost but no result. If you know please show me!
Code: Select all
// other stuff
$phpwcms["imagick"] = 0; //if 0 = GD, 1 = ImageMagick convert, 2 = ImageMagick 4.2.9
Code: Select all
$phpwcms["use_gd2"] =0; //if GD version less than 2.0
Code: Select all
$phpwcms["use_gd2"] =1; //if GD version greater than or equal to 2.0