Exif photo focallength

From Photostand Wiki

Jump to: navigation, search
exif_photo_focallength()

The exif_photo_focallength function will return the photo focal length value. It can be used in index.php (template) or popup.php, at any time.

Parameters

This function has no parameters.

Examples

In a normal paragraph

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
    <head>

	<title>My photoblog</title>

    </head>
    <body>

        <p>Focal length: <?php echo exif_photo_focallength(); ?>.</p>

    </body>
</html>

Here, the focal length value will simply appear as normal text directly in the page.

Personal tools