>

$post->post_parent ,'post_status' => 'inherit' ,'post_type' => 'attachment' ,'post_mime_type' => 'image' ,'order' => 'ASC' ,'orderby' => 'menu_order ID' ))); foreach ($attachments as $k => $attachment) { if ($attachment->ID == $post->ID) break; } $k++; if (count($attachments) > 1) { if (isset($attachments[$k])) $next_attachment_url = get_attachment_link($attachments[$k]->ID); else $next_attachment_url = get_attachment_link($attachments[ 0]->ID); } else $next_attachment_url = wp_get_attachment_url(); ?> ID,$attachment_size); ?> post_excerpt)) { echo '
'; the_excerpt(); echo '
'; } ?>
'')); ?>
ID)); if (!empty($metadata['image_meta']['focal_length' ])) $metadata['image_meta']['focal_length' ] = floor($metadata['image_meta']['focal_length' ] * 1000) / 1000; if (!empty($metadata['image_meta']['shutter_speed'])) $metadata['image_meta']['shutter_speed'] = floor($metadata['image_meta']['shutter_speed'] * 1000) / 1000; if (!empty($exifdata ['Camera' ])) echo ''; if (!empty($exifdata ['Software' ])) echo ''; //if (!empty($exifdata ['DateTime' ])) echo ''; echo ''; if (!empty($exifdata ['FileSize' ])) echo ''; if (!empty($exifdata ['MimeType' ])) echo ''; if (!empty($metadata['image_meta']['title' ])) echo ''; if (!empty($metadata['image_meta']['caption' ])) echo ''; if (!empty($metadata['image_meta']['aperture' ])) echo ''; if (!empty($metadata['image_meta']['focal_length' ])) echo ''; if (!empty($metadata['image_meta']['shutter_speed'])) echo ''; //if (!empty($exifdata ['ExposureTime' ])) echo ''; if (!empty($metadata['image_meta']['credit' ])) echo ''; if (!empty($metadata['image_meta']['copyright' ])) echo ''; if (!empty($metadata['image_meta']['iso' ])) echo ''; if (!empty($exifdata ['Flash' ])) echo ''; ?>
' . __('Camera' ,'sumakweb') . '' . $exifdata ['Camera' ] . '
' . __('Software' ,'sumakweb') . '' . $exifdata ['Software' ] . '
' . __('DateTime' ,'sumakweb') . '' . $exifdata ['DateTime' ] . '
' . __('Image size' ,'sumakweb') . '' . $metadata['width'] . 'x' . $metadata['height'] . '
' . __('File size' ,'sumakweb') . '' . $exifdata ['FileSize' ] . '
' . __('Mime type' ,'sumakweb') . '' . $exifdata ['MimeType' ] . '
' . __('Title' ,'sumakweb') . '' . $metadata['image_meta']['title' ] . '
' . __('Caption' ,'sumakweb') . '' . $metadata['image_meta']['caption' ] . '
' . __('Aperture' ,'sumakweb') . '' . $metadata['image_meta']['aperture' ] . '
' . __('Focal length' ,'sumakweb') . '' . $metadata['image_meta']['focal_length' ] . '
' . __('Shutter speed','sumakweb') . '' . $metadata['image_meta']['shutter_speed' ] . '
' . __('Exposure time','sumakweb') . '' . $exifdata ['ExposureTime' ] . '
' . __('Credit' ,'sumakweb') . '' . $metadata['image_meta']['credit' ] . '
' . __('Copyright' ,'sumakweb') . '' . $metadata['image_meta']['copyright' ] . '
' . __('Iso' ,'sumakweb') . '' . $metadata['image_meta']['iso' ] . '
' . __('Flash' ,'sumakweb') . '' . $exifdata ['Flash' ] . '
'Error retrieving EXIF data'); if (!empty($exif['FileSize'])) $exif['FileSize'] = floor(($exif['FileSize'] / 1000)) . ' KB'; if (!empty($exif['Make'])) $exif['Camera'] = $exif['Make'] . ' ' . $exif['Model']; else $exif['Camera'] = ''; switch ($exif['Flash']) { case 0x0000: $exif['Flash'] = ''; /*'Flash did not fire';*/ break; case 0x0001: $exif['Flash'] = 'Flash fired'; break; case 0x0005: $exif['Flash'] = 'Strobe return light not detected'; break; case 0x0007: $exif['Flash'] = 'Strobe return light detected'; break; case 0x0009: $exif['Flash'] = 'Flash fired, compulsory flash mode'; break; case 0x000D: $exif['Flash'] = 'Flash fired, compulsory flash mode, return light not detected'; break; case 0x000F: $exif['Flash'] = 'Flash fired, compulsory flash mode, return light detected'; break; case 0x0010: $exif['Flash'] = 'Flash did not fire, compulsory flash mode'; break; case 0x0018: $exif['Flash'] = 'Flash did not fire, auto mode'; break; case 0x0019: $exif['Flash'] = 'Flash fired, auto mode'; break; case 0x001D: $exif['Flash'] = 'Flash fired, auto mode, return light not detected'; break; case 0x001F: $exif['Flash'] = 'Flash fired, auto mode, return light detected'; break; case 0x0020: $exif['Flash'] = 'No flash function'; break; case 0x0041: $exif['Flash'] = 'Flash fired, red-eye reduction mode'; break; case 0x0045: $exif['Flash'] = 'Flash fired, red-eye reduction mode, return light not detected'; break; case 0x0047: $exif['Flash'] = 'Flash fired, red-eye reduction mode, return light detected'; break; case 0x0049: $exif['Flash'] = 'Flash fired, compulsory flash mode, red-eye reduction mode'; break; case 0x004D: $exif['Flash'] = 'Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected'; break; case 0x004F: $exif['Flash'] = 'Flash fired, compulsory flash mode, red-eye reduction mode, return light detected'; break; case 0x0059: $exif['Flash'] = 'Flash fired, auto mode, red-eye reduction mode'; break; case 0x005D: $exif['Flash'] = 'Flash fired, auto mode, return light not detected, red-eye reduction mode'; break; case 0x005F: $exif['Flash'] = 'Flash fired, auto mode, return light detected, red-eye reduction mode'; break; } return $exif; }