Ugg. It’s a paid for theme, so can’t give a download link ??
I don’t know if it’s obvious but this is the chunk of code that is failing (generating a thumbnail)
if ( function_exists(‘get_the_image’) ) {
if ( $udesign_options[‘default_thumb_on’] == ‘yes’ ) { // Default thumbnail option is selected
$the_thumb_html_as_array = get_the_image( array(
‘meta_key’ => array(‘post_thumbnail’,’thumbnail’),
‘format’ => ‘array’,
‘size’ => ‘full’,
‘default_image’ => $default_thumb,
‘link_to_post’ => false,
‘image_scan’ => true,
‘width’ => $post_thumb_width,
‘height’ => $post_thumb_height,
‘cache’ => false,
‘echo’ => false,
) );
} else { // Default thumbnail option is NOT selected
$the_thumb_html_as_array = get_the_image( array(
‘meta_key’ => array(‘post_thumbnail’,’thumbnail’),
‘format’ => ‘array’,
‘size’ => ‘full’,
‘default_image’ => false,
‘link_to_post’ => false,
‘image_scan’ => true,
‘width’ => $post_thumb_width,
‘height’ => $post_thumb_height,
‘cache’ => false,
‘echo’ => false,
) );
}
echo ( $the_thumb_html_as_array[‘src’] ) ? ‘<div class=”small-custom-frame-wrapper alignleft’.$shadow_class.'”><div class=”custom-frame-inner-wrapper”><div class=”custom-frame-padding”><img src=”‘.udesign_process_image( $the_thumb_html_as_array[‘url’], $post_thumb_width, $post_thumb_height, true, ”, false ).'” width=”‘.$post_thumb_width.'” height=”‘.$post_thumb_height.'” alt=”‘.$the_thumb_html_as_array[‘alt’].'” /></div></div></div>’ : ”;
any help??? I can grab some sample parameters values that are being passed across if you need to see what it is actually pushing across to you?