Page 1 of 1

Error In PHP GD Library

Posted: Tue Aug 23, 2011 12:33 am
by Jhundemoral
Help Please.

I don't know how to configure the gd library and where to locate it in my site. Before my website reside on a spinweb server and it functions normally no error message occur. But when I already transfer the website into another web server wich is the verio i've already get an error message
---------------------------------------------------------------------------------------------------------------------------------------------
warning: Division by zero in /home/richwe73/public_html/sites/all/modules/imageapi/imageapi.module on line 221.
----------------------------------------------------------------------------------------------------------------------------------------------
when i preview my website the images goes X means no images appears or it can't locate the images.

any help would be appreciated...

Re: Error In PHP GD Library

Posted: Tue Aug 23, 2011 8:57 am
by greip
You need to verify that GD is installed and if it's missing contact the hosting company to make them configure it for you.

Create a page calling phpinfo() to check if GD is installed or not:

<?php
phpinfo();
?>

You should also have a look at the source code of the web page which is unable to display images and verify that the URLs for images are as expected.