problem about phpthumb-Collection of common programming errors


  • Mico Abrina
    php image upload pictures phpthumb
    I’m having a very problematic error with phpthumb: http://phpthumb.gxdlabs.com/ So basically, I have a form which uploads a profile picture. The uploading seems to work because it uploads the image in the directory. The problem is that it doesn’t generate the thumbnails but I’m sure that all the variables and names are correct. It gives me the following error. Specifically ‘Image file not found’:Fatal error: Uncaught exception ‘Exception’ with message ‘Image file not found: ????’ in {PATH}\phpth

  • genesis
    php gd phpthumb
    library: http://wiki.github.com/masterexploder/PHPThumb/basic-usagei am using the PhpThumbFactory library to crop and upload an image. the error im receiving is this:Fatal error: Uncaught exception ‘Exception’ with message ‘Image file not found: ‘ in /www/iaddesign/admin/classes/phpthumb/ThumbBase.inc.php:193 Stack trace: #0 /www/iaddesign/admin/classes/phpthumb/ThumbBase.inc.php(172): ThumbBase->triggerError(‘Image file not …’) #1 /www/iaddesign/admin/classes/phpthumb/ThumbBase.inc.php(

  • Jim Garrison
    php phpthumb
    I had downloaded from official website, uploaded to my hosting server. I got this error message. [08-Mar-2012 21:26:07] PHP Fatal error: Class ‘PhpThumb’ not found in /home/sokad /public_html/libs/phpthumb/thumb_plugins/gd_reflection.inc.php on line 179 Fatal error: Uncaught exception ‘RuntimeException’ with message ‘Cannot show image, headers have already been sent’ in /home/sokad/public_html/libs/phpthumb/GdThumb.inc.php:569 Stack trace: #0 /home/sokad/public_html/resize.php(14): GdThumb-&

  • xRobot
    php phpthumb
    require_once ‘../ThumbLib.inc.php’; $thumb = PhpThumbFactory::create(‘test.jpg’); $thumb->resize(100, 100)->save(‘/img/new_thumb.jpg’); $thumb->show();I set 777 permission to img folder but I get this error:Fatal error: Uncaught exception ‘RuntimeException’ with message ‘File not writeable: /img/new_thumb.jpg’ in /home/xjohn/www.mysite.com/phpthumb/GdThumb.inc.php:662 Stack trace: #0 /home/xjohn/www.mysite.com/phpthumb/examples/resize_basic.php(31): GdThumb->save(‘/img/new_th…’) #1

  • Fuxi
    phpthumb
    i’m using ffmpeg for extracting a video frame from which i want to create a thumbnail using php thumb. creating the video frame works, but when trying to save the thumbnail file (under a different name – same directory) i’m getting this error:PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘File is not writeable, and could not correct permissions: d:/Webs/bla.jpg’ in D:\Webs\phpThumb\lib\GdThumb.inc.php:656it can’t be a permission problem as i can already store the videofram

  • expiredninja
    php permissions directory-structure thumbnails phpthumb
    I wanted a script that automatically generates thumbnails when from a folder full of larger images. I’ve ran into some problems implementing it.I was getting some errors early on because I hadn’t included all the phpthumb files i needed, but now the errors are coming from within the phpthumb code itself. Will post more code as needed.The errors:Warning: getimagesize(.\.) [function.getimagesize]: failed to open stream: Permission denied in C:\xampp\htdocs\mysite\GdThumb.inc.php on line 1070Fatal

  • Tourshi
    jquery image google-chrome phpthumb
    Im having trouble getting Chrome to recognize an Image width or height after the DOM has loaded. The Image is dynamically loaded through phpThumb script (which resizes the image). If I take away the dynamic url and just replace it with the Image’s direct url I get no issues and everything works in Chrome but with the dynamic url, chrome doesn’t seem to be able to calculate the image width or height.Anyone have any experience with this? Its doing my head in.The code in question is :var theImage

  • user1657958
    php image-upload special-folders phpthumb
    I’m (a newbie in php) still working on a time off project and another problem came up, for which I can’t find a solution. Therefore I hope u guys can help me! Worked great the last time I posted something on here! I really appreciate your help…thx ahead!My problem: I want users to be able to upload pictures when they are logged in. They got several little buttons on their profile with images on them…and they should be able to change them… I want to have it like this -> When a user uploa

Web site is in building