For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > May 2007 > Problem with imagebuilding









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Problem with imagebuilding
Ruprecht Helms

2007-05-04, 3:58 am

Hi,

I actually have a problem with a script that creates a picture from
database content. I the following error:


Warning: imagepng(): supplied argument is not a valid Image resource in
/opt/lampp/htdocs/cycosmos_2/avatare/avatarbild.php on line 315

The other lines that copy and resize other content for the imagebuilding
I've remarked, because there produce errors too.

Another script that produce the result that I want by working with
hardcoded content works without no problems.


Can someone tell me what can be wrong in the databasescript.


The file avatarbild.php contails the malefunction script.
The file bild_komplettavatar.php contains an example with the correct
output.

Regards,
Ruprecht

-----------------------------------------------
Ruprecht Helms IT-Service & Softwaredevelopment
allow your worktools be individual

Web: http://www.rheyn.de

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com