Ejemplo n.º 1
0
        <BR>
        <HR>
        <BR>

        Output the Photoshop IRB (including the IPTC-NAA info -->
        <?php 
echo Interpret_IRB_to_HTML(get_Photoshop_IRB($jpeg_header_data), $filename);
?>

        <BR>
        <HR>
        <BR>

        Output the Meta Information -->
        <?php 
echo Interpret_EXIF_to_HTML(get_Meta_JPEG($filename), $filename);
?>

        <BR>
        <HR>
        <BR>

        <!-- Display the original image -->

        <h2>Original Image</h2>
        <?php 
echo "<img src=\"{$filename}\">";
?>


        <BR>
Ejemplo n.º 2
0
    <body>

        <p >Interpreted using: <a href="http://www.ozhiker.com/electronics/pjmt/">PHP JPEG Metadata Toolkit version <?php 
echo $GLOBALS['Toolkit_Version'];
?>
, Copyright (C) 2004 Evan Hunter</a></p>                <!-- Change: displayed toolkit version numbers to reference Toolkit_Version.php - as of version 1.11 -->
        <br>

        <h2><B><U>Metadata for &quot;<?php 
echo $filename;
?>
&quot;</U></B></h2>


        <!-- Output the EXIF Information -->
        <?php 
echo Interpret_EXIF_to_HTML(get_EXIF_TIFF($filename), $filename);
?>

        <BR>
        <BR>
        <BR>
        <p>Interpreted using:</p>
        <p><a href="http://www.ozhiker.com/electronics/pjmt/" >PHP JPEG Metadata Toolkit version <?php 
echo $GLOBALS['Toolkit_Version'];
?>
, Copyright (C) 2004 Evan Hunter</a></p>              <!-- Change: displayed toolkit version numbers to reference Toolkit_Version.php - as of version 1.11 -->

    </body>

</html>
Ejemplo n.º 3
0
    }
    //END IF zoom?
    if ($zoom->_CONFIG['properties']) {
        ?>
	    <br /><br />
            <!-- beginning of floating-box to hide details when the Slideshow has started... -->
            <div id="details">
        <?php 
        ZMG_Template_View::showPropertiesBox($zoom->_CONFIG['viewtype'], $img_path, $key);
        // Display a link which enables the user to view EXIF-readings of the image, if readEXIF is set
        // to TRUE.
        $empty_span = "<span>&nbsp;</span>";
        if ($zoom->_CONFIG['readEXIF'] && $zoom->isImage($zoom->_gallery->_images[$key]->_type)) {
            // $exif = $zoom->_gallery->_images[$key]->exif_parse_file($img_loc);
            $prefix = ZMG_Template_View::createViewBlock(_ZOOM_EXIF_SHOWHIDE);
            $metadata_viewable = Interpret_EXIF_to_HTML(get_EXIF_JPEG($img_loc_org), $img_loc_org);
            if (!empty($metadata_viewable)) {
                echo $metadata_viewable;
            } else {
                echo $empty_span;
            }
            ZMG_Template_View::finishViewBlock($zoom->_CONFIG['meta_state'], $prefix);
        }
        // Do the same for the ID3 tag parser...
        if ($zoom->_CONFIG['readID3'] && $zoom->isAudio($zoom->_gallery->_images[$key]->_type)) {
            $prefix = ZMG_Template_View::createViewBlock(_ZOOM_ID3_SHOWHIDE);
            $id3_data = $zoom->_gallery->_images[$key]->_metadata;
            $metadata_viewable = $zoom->toolbox->interpret_ID3_to_HTML($id3_data);
            if (!empty($metadata_viewable)) {
                echo $metadata_viewable;
            } else {