$hintergrund = $row_hintergrundsbild->Bildname;
$backgroundimage = $hintergrund;
this is the problem whole about. u call img name but not img file..
fyi.. to build a img u must begin with this..
$im = imagecreatefrompng("test.png");
what u want to do??
plz explain
----- Original Message -----
From: "Ruprecht Helms" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, May 04, 2007 3:10 PM
Subject: [PHP-DB] Problem with imagebuilding
> 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
>
----------------------------------------------------------------------------
----
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php