keevitaja Posted November 25, 2009 Share Posted November 25, 2009 Hello, i keep getting this error with PHP Thumb watermark plugin. Can anyone help? maybe i'm doing it wrong! php thumb: http://phpthumb.gxdlabs.com/download.php watermark plugin: http://phpthumb.gxdlabs.com/forums/topic/watermark-plugin my code: <?php require_once 'ThumbLib.inc.php'; $thumb = PhpThumbFactory::create('image.jpg'); $thumb->adaptiveResize(400, 400); $thumb->createWatermark('watermark.png', 'cc', 10); $thumb->show(); ?> the error i get: Warning: Parameter 4 to GdWatermarkLib::createWatermark() expected to be a reference, value given in C:\xampp\htdocs\new\includes\phpthumb\ThumbBase.inc.php on line 212 Fatal error: Uncaught exception 'RuntimeException' with message 'Cannot show image, headers have already been sent' in C:\xampp\htdocs\new\includes\phpthumb\GdThumb.inc.php:569 Stack trace: #0 C:\xampp\htdocs\new\includes\phpthumb\proov.php(7): GdThumb->show() #1 {main} thrown in C:\xampp\htdocs\new\includes\phpthumb\GdThumb.inc.php on line 569 Quote Link to comment https://forums.phpfreaks.com/topic/182886-cannot-use-plugins-with-php-thumb/ Share on other sites More sharing options...
keevitaja Posted November 25, 2009 Author Share Posted November 25, 2009 even the offcial plugin gives me the same error: http://wiki.github.com/masterexploder/PHPThumb/plugins-gd-reflection Quote Link to comment https://forums.phpfreaks.com/topic/182886-cannot-use-plugins-with-php-thumb/#findComment-965350 Share on other sites More sharing options...
keevitaja Posted November 25, 2009 Author Share Posted November 25, 2009 and it is impossible to register for forum. the email with password never arrives. tried it with different email accounts. left the owner tweet on the twitter. Quote Link to comment https://forums.phpfreaks.com/topic/182886-cannot-use-plugins-with-php-thumb/#findComment-965572 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.