How to display image inside a form I want to show image insida a form I've try it with  tag inside form but it's doesnt render anything heres my code

$form['y']['image_div'] = array(
            '#prefix' =&gt; '&lt;div class="image"&gt;&lt;img src="https://4.bp.blogspot.com/-tGbw82Gz8hA/WPR6WiOGPaI/AAAAAAAAEjk/JDPdpK3p-8wAUe2QTQbtWSdTZR_DBc-QACLcB/s640/Checkout.png" /&gt;',
            '#suffix' =&gt; '&lt;/div&gt;',
        );


How do I render an image inside form.inc in drupal ?
$form['y']['image_div'] = array(
  '#prefix' =&gt; '&lt;div class="image"&gt;',
  '#suffix' =&gt; '&lt;/div&gt;',
  '#markup' =&gt; theme('image', array(
    'path' =&gt; 'https://4.bp.blogspot.com/-tGbw82Gz8hA/WPR6WiOGPaI/AAAAAAAAEjk/JDPdpK3p-8wAUe2QTQbtWSdTZR_DBc-QACLcB/s640/Checkout.png',
  )),
);


And in your template file:

print drupal_render($form['y']['image_div']);


Result: