hey guys
i need to be able to create 2 different sized thumbnails for the home page, instead of them being all the same
something like what was done here http://www.danielgray.com/
is this possible? figured i could do something like if is in category ‘1’, do one post thumbnail size, if else, do another post thumbnail size…but unfortunately complex php is beyond me.
the function i figured could be modified is below, hoping something can take a look, or suggest an alternative way?
<code>// Add Featured Image for the Portfolio posts in this Page Template
add_action(‘genesis_before_post_content’, ‘agile_home_portfolio_do_post_image’);
function agile_home_portfolio_do_post_image() {
$img = genesis_get_image( array( ‘format’ => ‘html’, ‘size’ => ‘home-portfolio-thumbnail’, ‘attr’ => array( ‘class’ => ‘alignnone post-image port-img’ ) ) );
printf( ‘<a href=”%s” title=”%s”>%s</a>’, get_permalink(), the_title_attribute(‘echo=0’), $img );
}</code>