function the_post_image($post_id, $size, $order = 0) { echo get_the_post_image($post_id, $size, $order, $max); }
function the_post_image($size = 'thumbnail', $attr = '') { echo get_the_post_image(NULL, $size, $attr); }