MyBB Community Forums

Full Version: PHP GD problem - anyone?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK, ive been asked to make a highly modified verison of my userbar script and GD is annoying the life outta me Sad

Any ideas:
<FIXED Smile>

here is the image:
http://dev-network.com/userbar5ms.php?uid=1

Thanks
header ("Content-type: text/html");
is not going to work if you want to output an image to the browser
LOL i know, i was trying to output for any errors, forgot to change that XD

Anyway, had to use a jpeg, seems the PNG was too big for GD to handle Smile

Fixed now Smile
that's not really the problem.
earlier on i experienced problems with GDlib reading pngs,because of the way the PNG was generated. for example corel generated pngs didnt work at all with GD, somehow the PNG was not correctly generated in the 1st place...
hmmm, well i read an article saying that the if the image was too large it would not generate Smile
(2010-07-13, 08:13 AM)Tommyk Wrote: [ -> ]hmmm, well i read an article saying that the if the image was too large it would not generate Smile
Large in pixels(resolution) or large in size?
Size Smile seems to be a server setup limit