Resource interpreted as Image but transferred with MIME type text/html I've been embedding an image with my page using item type form control in Drupal 7 Forms API.Below are my codes:

function myid_user_page_form(){  
    $form = array(); 
    $form['id'] = array(
        '#type' =&gt; 'fieldset',
        '#title' =&gt; t('ID Information'),
        '#collapsible' =&gt; TRUE, 
        '#collapsed' =&gt; FALSE,
    );

    $form['id']['myid'] = array(
        '#type' =&gt; 'item',
        '#markup' =&gt; 
            '&lt;div id="divID"&gt;&lt;img src="images/id-background.jpg" alt="ID Picture"/&gt;&lt;/div&gt;'
    );
    return $form;
}


My image doesnt show up and is broken eventhough the path is correct and file permissions are set properly.

What Shall I Do? Below is the error:

Resource interpreted as Image but transferred with MIME type text/html: "http://localhost/drupal-7.34/user/7/images/id-background.jpg".


Below is a screen capture of my page.
Image path is incorrect. It will pick the path of image as http://current_path/images/id-background.jpg.

global $base_url;
$path = $base_url . drupal_get_path('module', 'mymodule') . '/images/id-background.jpg'; // considering the image is placed in your custom module's image directory
$form['id']['myid'] = array(
  '#type' =&gt; 'item',
  '#markup' =&gt; '&lt;div id="divID"&gt;&lt;img src="' . $path . '" alt="ID Picture"/&gt;&lt;/div&gt;'
);