Solved

PHP read detail info such as title,description,keyword from images (digital foto)

Posted on 2007-11-22
1
150 Views
Last Modified: 2010-04-03
How can I make an web application that can read file info / properties of an image.

You know,... we can add file info in photoshop susch as title, description, keyword etc.

If PHP can not do that ? is there any web script that can do that?

Thanks

YUAN
0
Comment
Question by:sabukhitam
1 Comment
 
LVL 4

Accepted Solution

by:
simonkin earned 50 total points
ID: 20335203
Hi,

try this....
<?php
 
 $exif = read_exif_data ('p0001807.jpg');
 
 while(list($k,$v)=each($exif)) {
 
   echo "$k: $v<br>\n";
 
 }
 
?>

Open in new window

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question