Re: [PHP] imagecreatefromjpeg() problems

2003-08-17 Thread J-K
Hi Jaap!

Thanks for your answer, but I checked phpinfo() and it says: JPG Support
Enabled
Any ideas?

The images are photo-like so png would make them too big.

Best regards
Jan-Kristian Markiewicz


Jaap Van Ganswijk [EMAIL PROTECTED] skrev i melding
news:[EMAIL PROTECTED]
 At 2003-08-16 14:35 +0200, J-K wrote:
 I've made a little script to make thumbnails which worked before the
 summer, but now I get this errormessage:
 
 bFatal error/b:  Call to undefined function:
 imagecreatefromjpeg() in
 b/usr/local/others/www.stud.users/mark/gfx/create_tn.php/b on line
 b15/b
 
 First I thought they had done something with the servers, because I
 haven't touched the code. But I checked the GD-version and got this:
   GD Version: bundled (2.0.12 compatible)
 
   Shouldn't version 2.0.12 support imagecreatefromjpeg()?

 Only when jpeg support has been compiled into
 the PHP version that is running on your system.
 It doesn't seem to be.

 Is there any way I can get around this?

 Try if png support is enabled. But you'd have
 to convert your jpeg's I guess and png's are
 probably much bigger because they are
 non-lossy (?). But it depends on your images
 being photo-like and not drawing-like.

 Otherwise you'll have to ask your system
 manager to fix the problem.

 BTW. you shouldn't indent paragraphs in emails,
 because it makes quoting them very messy, or
 the person answering your mail has to edit out
 the indentations (as I have done above).

 Greetings,
 Jaap




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



[PHP] imagecreatefromjpeg() problems

2003-08-16 Thread J-K
  Hi!

  I've made a little script to make thumbnails which worked before the
summer, but now I get this errormessage:

  bFatal error/b:  Call to undefined function:
imagecreatefromjpeg() in
b/usr/local/others/www.stud.users/mark/gfx/create_tn.php/b on line
b15/b

  First I thought they had done something with the servers, because I
haven't touched the code. But I checked the GD-version and got this:
  GD Version: bundled (2.0.12 compatible)

  Shouldn't version 2.0.12 support imagecreatefromjpeg()?

  Is there any way I can get around this?

  In advance thanks!
  Best regards
  Jan-Kristian Markiewicz



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



Re: [PHP] imagecreatefromjpeg() problems

2003-08-16 Thread Jaap van Ganswijk
At 2003-08-16 14:35 +0200, J-K wrote:
I've made a little script to make thumbnails which worked before the
summer, but now I get this errormessage:

bFatal error/b:  Call to undefined function:
imagecreatefromjpeg() in
b/usr/local/others/www.stud.users/mark/gfx/create_tn.php/b on line
b15/b

First I thought they had done something with the servers, because I
haven't touched the code. But I checked the GD-version and got this:
  GD Version: bundled (2.0.12 compatible)

  Shouldn't version 2.0.12 support imagecreatefromjpeg()?

Only when jpeg support has been compiled into
the PHP version that is running on your system.
It doesn't seem to be.

Is there any way I can get around this?

Try if png support is enabled. But you'd have
to convert your jpeg's I guess and png's are
probably much bigger because they are
non-lossy (?). But it depends on your images
being photo-like and not drawing-like.

Otherwise you'll have to ask your system
manager to fix the problem.

BTW. you shouldn't indent paragraphs in emails,
because it makes quoting them very messy, or
the person answering your mail has to edit out
the indentations (as I have done above).

Greetings,
Jaap


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