Tag Archives: camera

Jessica going for the Camera and playing with a Ball Jessica | My Life 30 JAN 2012

I wanted to film Jessica’s excited reaction that she usually gives when given this little plastic toy ball with chocolate beans rattling inside, but instead she turned the tables on me and went straight for the camera, intrigued by the lens.

Needles to say, it turned into a mad scramble to keep it safely out of her hands! :)

Display Embedded Photo EXIF data with PHP Programming 16 JAN 2011

Most digital cameras add EXIF (Exchangeable image file format) data to photos captured nowadays, embedding information like camera type, settings, timestamps, etc. into the captured file itself, and in the process creating a host of quite important (to enthusiasts anyway) bits of meta information in the process.

Extracting this information out of photos for display on a website turns out to be particularly easy, thanks to the powerful little exif_read_data function found in PHP.

(Just a note, for the exif family of PHP functions to work, you do need exif enabled in your installation. This can be verified by a quick look through your phpinfo file).

So let’s have an active example then:

if (file_exists($filepath)) {
    echo '

...