[PHP] exif functions

2002-12-24 Thread Dade Register
Happy Holidays!

I am having a problem using the exif_thumbnail()
function. All I want to do is to view the embedded
thumbnails in some jpg files taken by digital cameras.
I have tried the examples in the docs, but they don't
seem to work. Can someone give me some tips on using
this function? Thanx.

-Dade

__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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




Re: [PHP] exif functions

2002-12-24 Thread Jason Sheets
You are getting the error because the function has not been defined..  

The manual contains this information: Note:  This function is only
available in PHP when compiled using --enable-exif. Its functionality
and behaviour has changed in PHP 4.2 

Try recompling PHP with --enable-exif on the command line, this should
solve your problem.

Jason


On Tue, 2002-12-24 at 13:20, Dade Register wrote:
 Thanx for replying. Here's all the info:
 PHP 4.2.2
 Unix - FreeBSD 4.6-STABLE
 http://kidz.homeip.net/php.php
 That link is a phpinfo() with all the info if this is
 not enuf info.
 
 The images are taken with a Kidak DX3700 digital
 camera. Should be using EXIF 2.0 or so. I'm pretty
 sure they have thumbnails. That's what Kodak says.
 
 The error I get is as follows:
 Fatal error: Call to undefined function:
 exif_thumbnail() in /usr/home/dade/kidz/pics/image.php
 on line 3
 
 That is the exif_thumbnail() function line. I am
 pretty sure I am doing it right. Look @
 http://kidz.homeip.net/pics/image.phps
 
 I'm trying to call it like this:
 http://kidz.homeip.net/pics/image.php?file=test.jpg
 
 Do you think that will work?
 Thanx for the help.
 
 -Dade
 --- Jason Sheets [EMAIL PROTECTED] wrote:
  Do you get any error messages?  Are you sure the
  pictures have
  thumbnails on them?  Please elaborate on your
  explanation how it is
  failing.
  
  What version of PHP are you running, is it on
  windows or Unix/Linux?
  
  Jason
  On Tue, 2002-12-24 at 12:20, Dade Register wrote:
   Happy Holidays!
   
   I am having a problem using the exif_thumbnail()
   function. All I want to do is to view the embedded
   thumbnails in some jpg files taken by digital
  cameras.
   I have tried the examples in the docs, but they
  don't
   seem to work. Can someone give me some tips on
  using
   this function? Thanx.
   
   -Dade
   
   __
   Do you Yahoo!?
   Yahoo! Mail Plus - Powerful. Affordable. Sign up
  now.
   http://mailplus.yahoo.com
   
   -- 
   PHP General Mailing List (http://www.php.net/)
   To unsubscribe, visit:
  http://www.php.net/unsub.php
  
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
 http://mailplus.yahoo.com


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