— wrzesinscy.com

Archive
February 25th, 2009 Daily archive

I wanted to dis­play some exif data under my pho­tos. I googled and googled and finally fig­ured out, see code below, it’s my copy of singlepic.php file in nextgen-gallery/view folder. At the moment only with sin­glepic, still work­ing to show it in albums. Any com­ments and cor­rec­tions appreciated.

< ?php
/**
Template Page for the single pic
 
Follow variables are useable :
 
	$image : Contain all about the image
	$meta  : Contain the raw Meta data from the image
	$exif  : Contain the clean up Exif data
	$iptc  : Contain the clean up IPTC data
	$xmp   : Contain the clean up XMP data 
 
 You can check the content when you insert the tag 
 If you would like to show the timestamp of the image ,you can use < ?php echo $exif['created_timestamp'] ?>
**/
?>
< ?php if (!defined ('ABSPATH')) die ('No direct access allowed'); ?>< ?php if (!empty ($image)) : ?>
 
<a title="&lt; ?php echo $image-&gt;linktitle ?&gt;
 &lt; ?php echo $exif['camera'] ?&gt;,
 &lt; ?php echo $exif['aperture'] ?&gt; &amp; &lt; ?php echo $exif['shutter_speed'] ?&gt;,
 &lt; ?php echo $exif['focal_length'] ?&gt;,
 ISO &lt; ?php echo $exif['iso'] ?&gt;,
 &lt; ?php echo $exif['created_timestamp'] ?&gt;
 &lt; ?php echo $exif['flash'] ?&gt; " href="&lt;?php echo $image-&gt;imageURL ?&gt;">&lt; ?php echo $image-&gt;thumbcode ?&gt; &gt;
	<img class="&lt;?php echo $image-/&gt;classname ?&gt;" title="&lt; ?php echo $image-&gt;alttext ?&gt;" src="&lt; ?php echo $image-&gt;thumbnailURL ?&gt;" alt="&lt; ?php echo $image-&gt;alttext ?&gt;" />
</a>
&lt; ?php if (!empty ($image-&gt;caption)) : ?&gt;<span>&lt; ?php echo $image-&gt;caption ?&gt;</span>&lt; ?php endif; ?&gt;
 
&lt; ?php endif; ?&gt;
Read More

2 months has paased as quick as pos­si­ble. And here she is again:

Ewa,zabawa na macie

Ewa,zabawa na macie

Ewa,zabawa na macie

Ewa,zabawa na macie

more to see

Read More