Monthly Archives: September 2015

Super Moon Eclipse

Shot:
This year we got the pleasure of witnessing a Total Lunar Eclipse of a Super Moon. A Super Moon occurs when the Moon is in a full viewing state and it is closest to the Earth it can be. This makes the Moon appear larger than normal providing a cool view in itself. I was so excited for this day as the last chance I was around for a Super Moon we had such bad cloud coverage and this time it was also a Total Lunar Eclipse. I did my research the night before so I knew where I could get a good view, something I usually scramble to do. Come that night I grabbed my gear and trusty chair and got all setup. The night was so clear to start but had clouds rolling in and out. Everytime I was ready to call it quits I would catch a small breal which kept me going. I was able to get a few good photos throughout the night and tgej finally one what felt like forever (probably 2 minutes) the clouds broke and I was able to get the shot that I wanted. I put a few together to make the composite below with the different phase I was able to see.

Technique:
There was no editing done to each frame here, they are all straight off the camera. I just cropped out part of six images to put together this composite.

Final:
Super_Moon_Eclipse-web

Gear:
Camera: Canon EOS 5D Mark III
Lens: EF300mm f/4L II USM at 300mm
Aperture: f/4.0
ISO: Various
Shutter Speed: Various
Tripod: Benro A2691T Travel Angel with BH1 Ballhead

EXIF Shortcode for WordPress

I post mostly images on my site here and always like the share the camera, lens and settings information from my photos for everyone to see. I got tired or having to type the information over and over so I decided to write a shortcode for WordPress to handle most of the work for me. All you need is a function to perform the task at hand that returns data and a line to add the shortcode itself. For my function I start by pulling all the EXIF information from the photo and looping through each key/value pair to store the piece I want in a string and then return that string. The way my EXIF information was getting read needed a little bit of formatting to look the way I want and to say for the 4 for the Shutter Speed instead of 4/1 (how it was getting read). For my shortcode I decided to to call it [myexif]. I also wanted to show whether or not I used a tripod, since the information is not stored in the EXIF I made that an attribute of the shortcode to set a yes or no value.

Here is an example output of the shortcode:

Gear:
Camera: Canon EOS 5D Mark III
Lens: EF24-70mm f/2.8L II USM at 35mm
Aperture: f/2.8
Shutter Speed: 1/8000 of a second
ISO: 100
Tripod: Handheld


Here is how to use the shortcode in your post:

[myexif tripod="no"]http://localhost/allenserh_at/wp-content/uploads/2015/09/8Q4A5659-original-web.jpg[/myexif]

To setup the whole thing the following code was added to a file called shortcodes.php which I placed in the root of my theme folder and then used a include statement in the functions.php file to include shortcodes.php. This shortcodes.php file can also be packaged into a plugin which I may do so you don’t have to modify any existing code.

<?php
function getCustomExif($atts, $content = null) {
    $customExif = "<strong>Gear:</strong><br />\n";
    extract(shortcode_atts(array(
        "tripod" => 'yes'
    ), $atts));

    $exif = exif_read_data($content, 0, true);
    foreach ($exif as $key => $section) {
        foreach ($section as $name => $val) {
            if ($key == "IFD0" & $name == "Model"){
                $cameraExif = "Camera: ".$val."<br />\n";
            }
            if ($key == "EXIF" & $name == "UndefinedTag:0xA434"){
                $lensExif = "Lens: ".$val;
            }
            if ($key == "EXIF" & $name == "FocalLength"){
                $val = strstr($val, "/", true);
                $flExif = $val."mm<br />\n";
            }
            if ($key == "EXIF" & $name == "ExposureTime"){
              $valF = substr($val, 0, 1);
              $valS = substr($val, 1, 1);
              $valT = substr($val, 2, 1);
    			
              if($valF == "1" & $valS == "/"){
                  $shtrExif = "Shutter: ".$val." second<br />\n";
              }
              if($valF == "1" &  $valT == "1"){
                  $val = strstr($val, "/", true);
                  $shtrExif = "Shutter: ".$val." second<br />\n";
              }
              if($valF != "1"){
                  $val = strstr($val, "/", true);
                  $shtrExif = "Shutter: ".$val." seconds<br />\n";
              }     		
            }
            if ($key == "COMPUTED" & $name == "ApertureFNumber"){
                $apertureExif = "Aperture: ".$val."<br />\n";
            }
            if ($key == "EXIF" & $name == "ISOSpeedRatings"){
                $isoExif = "ISO: ".$val."<br />\n";
            }
    	}
    }
	
    $customExif = $customExif.$cameraExif.$lensExif." at ".$customExif.$flExif.$apertureExif.$shtrExif.$isoExif;
	
    if ($tripod == "yes") {
        $tripodExif = "Tripod: Tripod Name Here<br /><br />\n";
    }
    if ($tripod == "no") {
        $tripodExif = "Tripod: Handheld<br /><br />\n";
    }
    $customExif = $customExif.$tripodExif;
    return $customExif;
}

add_shortcode('myexif', 'getCustomExif');
?>

Feel free to use this code if you want. You may need to modify it slowly if you camera has different EXIF data than mine. I recommend creating a single file called exifTest.php and placing the below code in it to see the EXIF data you photos have in them.

<?php

$exif = exif_read_data('http://path/to/image/file.jpg', 0, true);
foreach ($exif as $key => $section) {
    foreach ($section as $name => $val) {
        echo "$key.$name: $val<br />\n";
    }
}
?>

Sleeping Boats

Shot:
In honor of Summer ending please enjoy a photo I called Sleeping Boats.  As owners are tucked in their beds the boats sit quietly and get their quiet time as well.  The water is like a sheet of glass at night making this shot even easier to take. I planned this shot for a while waiting for a very quiet and calm night on the river as I took this photo on a floating dock at a marina in Sea Bright, NJ.  Taking long exposures on a moving platform or moving objects can be tricky so finding the perfect day helps.

Technique:
The final image was created using a single image taken from the camera and processed in Lightroom CC. I used some basic techniques to adjust shadow, highlights and exposure settings.  I also used gradient adjustments to adjust temperature of the water and sky to bring out the color more and it also helped the mirror effect pop more in the more.

Camera Original:
8Q4A9869-original-web

Final:
8Q4A9869-edit-web

Gear:
Camera: Canon EOS 5D Mark III
Lens: EF24-70mm f/2.8L II USM at 70mm
Aperture: f/2.8
Shutter Speed: 5 seconds
ISO: 100
Tripod: Benro A2691T Travel Angel with BH1 Ballhead

Painted Sky over DUMBO

Shot:
This shot was taken of the DUMBO area of Brooklyn from the Brooklyn Bridge during the Trey Ratcliff Photowalk Across the USA.  Earlier in the night it looked like it would be just a plain of day with nothing special in the sky.  As the walk progressed it was as if Trey made a phone call and got the sky painted for his walk.  As we approached the Brooklyn Bridge walk the sky turned in this amazing display of colors, the clouds were amazing, just reflecting the color and making for an amazing sunset.  I forgot my tripod for this walk but still able to capture some amazing shots.  This is easily my favorite shot of the night.

Technique:
The final image was created using a single image taken from the camera and processed in Lightroom CC.  In honor of the walk I started out using one of Trey’s presets on this one and then added my own touch to give a unique look.

Camera Original:
8Q4A5012-original-web

Final:
8Q4A5012-edit-web

Gear:
Camera: Canon EOS 5D Mark III
Lens: EF24-70mm f/2.8L II USM at 24mm
Aperture: f/2.8
Shutter Speed: 1/350 of a second
ISO: 400
Tripod: Handheld

NYC Skyline From Newport

Shot:
Three months ago I started a new chapter in my life by taking a new job at JP Morgan Chase working in Global Technology.   The office I am based out of is in the Newport Section of Jersey City, NJ.   Over the past few weeks I have ventured around the area with my camera to grab some shots  during my lunch to give me a real break from the real world.  I am able to get away and just be in my own world even with all the people around me. This spot is right behind my office, I walk past it on a daily basis and always admire the views.  The wood pilings add a nice foreground element to the shot.  The clouds could not have been any better for a photo.  This shot may look familiar as it is one I took while scouting my 9/11 Tribute in Lights memorial photo which you can see here.

Technique:
The final image was created using a single image taken from my camera, processed two different ways in Lightroom and then blended together in Photoshop using a custom mask to bring in the some elements of the sky from one edit to the other.

Camera Original:
8Q4A5659-original-web

Edit 1:
8Q4A5659-edit1-web

Edit 2:
8Q4A5659-edit2-web

Final:
8Q4A5659-edit-web

Gear:
Camera: Canon EOS 5D Mark III
Lens: EF24-70mm f/2.8L II USM at 35mm
Aperture: f/2.8
Shutter Speed: 1/8000 of a second
ISO: 100
Tripod: Handheld