Hi, I have some trouble with GD library. It does not show picture which was created by php GD library. I checked my GD library and it is ok. here is check link: http://hyipsnetmonitor.com/demo/gd.php But when i try to create an image, it is error. here is image link: http://hyipsnetmonitor.com/index.php?a=image&lid=7880 I can access WHM to manage server, so what should i do now ? Thank you very much reading.
If the GD library is working, then maybe there is something wrong in the code you wrote. Try the following code, replacing "someimg" with a real image path: <?PHP $img = imagecreatefromgif("someimg.gif"); imagepng($img, "someimg.png"); ?> If you run this code, using a valid gif image file, and a PNG version of that file is created, then it means the GD library is fine and there is likely to be something wrong with your code.