get_row( $wpdb->prepare( "SELECT * FROM $wpdb->posts WHERE post_content = '%s'",$header_image_URL ) );
$header_image_att_id = $header_image_att->ID;
$header_image_alt = get_post_meta($header_image_att_id, '_wp_attachment_image_alt', true); ?>
section and everything up till