Graphics/Photos/Web
More HDR Adventures
by Joe on Jan.03, 2011, under Graphics/Photos/Web
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
by Joe on Nov.27, 2010, under Graphics/Photos/Web, 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.



