Watermark with GD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to get the watermark to work, however I am having a problem in 
that the image is being called from a database (image sits in images file).

The script in question is this

$image = imagecreatefromjpeg($_GET['src']);

However it produces an error message of

Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: Filename 
cannot be empty in /home/content/a/l/i/alinde52/html/imagesDetail.php on 
line 233

I have tried various methods, for example: ($_GET ['images/'] or ($_GET 
['images/$row_WADAimages["image_id"]].

Can anyone shed some light on this for me.

Thank you

Gary 



__________ Information from ESET Smart Security, version of virus signature database 5575 (20101029) __________

The message was checked by ESET Smart Security.

http://www.eset.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux