Category Archives: Graphics/Photos/Web

Rather self-explanatory, we think.

More HDR Adventures

This is the original snap shot, captured as a RAW file (thankfully). These photos are cropped so click on each one to load the full photo in its own window.

In Adobe Camera RAW I saved out the original exposure as a TIFF, then played with the exposure sliders until I was happy with one exposure that captured shadow detail and another that captured highlight detail. I saved those out as TIFFs and then loaded them into NIKs HDR Efex Pro where I tonemapped them. The final step was to load the tonemapped file into Photoshop with the varying EV TIFFs and used a mask and a soft brush to clean up some of the HDRness. Yes, that’s a word.

Page Specific Javascript and CSS for Headway Theme

Yeah that’s right. I’m posting something. What a god awful background this theme has.

Over at mortgagesbyjoe.ca, I wanted to load the javascript and css that controls the “accordion” feature that appears only on the front page of the site. There is no point to these loading on any other page of the site. Mortgagesbyjoe is a WordPress powered site that uses the Headway theme framework.

Here is the code I used in my custom_functions.php:

// Load js and css for front page accordion
function load_accordion()  
{  
    if (is_front_page()) { /* If front page */ ?>  
<!-- start load front page accordion -->  
    <script type="text/javascript" src="http://mortgagesbyjoe.ca/wp-content/uploads/headway/template-uploads/js/jquery.accordion.js">
    <ink rel="stylesheet" type="text/css" media="screen" href="http://mortgagesbyjoe.ca/wp-content/uploads/headway/template-uploads/css/jquery.accordion.css"  />
<!-- end load front page accordion -->
    <?php }  
}  
add_action('wp_head', 'load_accordion');

Yes I used absolute links to the files. Bad. What I should have done, and will do when I’m not feeling lazy is something like:

script src="'.get_bloginfo('url').'custom/js/jquery.accordion.js/" type="text/javascript"

That little .get_bloginfo bit tells the browser to look in the root of your theme folder. You can’t have this much fun without breaking a law.

Bandit & Cassie Photo Gallery

Head on over to my MobileMe Gallery and check out the new photo gallery featuring Bandit & Cassie. These photos were shot by Sheena of Big Air Photography. Sheena is also the guardian angel behind BC Border Collie Rescue where both Bandit and Cassie were adopted by us from.

I know I’ve been AWOL lately and I apologize. We’ve made some BIG changes to our lives and things will settle down here around the beginning of June. We’ve sold our home in Pitt Meadows and bought a condo in South Surrey/White Rock. More on that to follow…