The code is fine as it works perfectly on my localhost but doesn't run on the online host. It cant be that gd isnt on the host else it would not even generate part of the image.
Whats going on here
This is the GD Config on the server - I don't think there is anything wrong with it
Code: Select all
gd
GD Support enabled
GD Version bundled (2.0.34 compatible)
FreeType Support enabled
FreeType Linkage with freetype
FreeType Version 2.2.1
GIF Read Support enabled
GIF Create Support enabled
JPG Support enabled
PNG Support enabled
WBMP Support enabled
XBM Support enabled

But this is what its rendering on the online:

Also I have noticed that - If I try to create an image out of the text 'P P' it should create the following image which it does on my localhost.

But on the online server its creating the image as so - the space is humongous and distorted. Could this be a hint as to why is it not rendering the text as it should.

Please guys I need help here urgently
