Drupal7: How to add the alt and title attribute to an image by code
Since you are rendering a field , you can use below code

&lt;?php
$image = field_get_items('node', $node, 'field_history_image');
$output = field_view_value('node', $node, 'field_history_image', $image[0]);
print render($output);
?&gt;


OR

$view = field_view_field('node', $node, 'field_history_image');
print render($view);